diff --git a/test/testgles2.c b/test/testgles2.c index c42835ebb..4b9e5d250 100644 --- a/test/testgles2.c +++ b/test/testgles2.c @@ -454,7 +454,7 @@ void loop() switch (event.type) { case SDL_WINDOWEVENT: switch (event.window.event) { - case SDL_WINDOWEVENT_RESIZED: + case SDL_WINDOWEVENT_SIZE_CHANGED: for (i = 0; i < state->num_windows; ++i) { if (event.window.windowID == SDL_GetWindowID(state->windows[i])) { int w, h;