diff --git a/src/test/SDL_test_common.c b/src/test/SDL_test_common.c index 9a3b87233..4b2502e2b 100644 --- a/src/test/SDL_test_common.c +++ b/src/test/SDL_test_common.c @@ -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]); } }