mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-09-05 19:08:12 +00:00
Show the window after creating the renderer
This hides any window recreation that might need to be done by the OpenGL renderers
This commit is contained in:
@@ -1497,8 +1497,6 @@ SDL_bool SDLTest_CommonInit(SDLTest_CommonState *state)
|
||||
}
|
||||
}
|
||||
|
||||
SDL_ShowWindow(state->windows[i]);
|
||||
|
||||
if (!SDL_RectEmpty(&state->confine)) {
|
||||
SDL_SetWindowMouseRect(state->windows[i], &state->confine);
|
||||
}
|
||||
@@ -1530,6 +1528,8 @@ SDL_bool SDLTest_CommonInit(SDLTest_CommonState *state)
|
||||
SDLTest_PrintRenderer(&info);
|
||||
}
|
||||
}
|
||||
|
||||
SDL_ShowWindow(state->windows[i]);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user