1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-22 22:34:33 +01:00

Fixed bug in create window due to uninitialised data. Finished load_character_width function

This commit is contained in:
Duncan Frost
2014-06-13 00:02:52 +01:00
parent ba1c414165
commit 960307e3bc
3 changed files with 28 additions and 8 deletions

View File

@@ -91,6 +91,7 @@ static void osinterface_create_window()
exit(-1);
}
SDL_VERSION(&wmInfo.version);
// Get the HWND context
if (SDL_GetWindowWMInfo(_window, &wmInfo) != SDL_TRUE) {
RCT2_ERROR("SDL_GetWindowWMInfo failed %s", SDL_GetError());