test/common.c
changeset 6503 8ff31baded38
parent 6471 5f6990aaf357
child 6505 ce7abf273d8c
--- a/test/common.c	Fri Sep 28 11:51:16 2012 -0700
+++ b/test/common.c	Fri Sep 28 14:00:43 2012 -0700
@@ -736,7 +736,8 @@
                 return SDL_FALSE;
             }
             SDL_GetWindowSize(state->windows[i], &w, &h);
-            if (w != state->window_w || h != state->window_h) {
+            if (!(state->window_flags & SDL_WINDOW_RESIZABLE) &&
+                (w != state->window_w || h != state->window_h)) {
                 printf("Window requested size %dx%d, got %dx%d\n", state->window_w, state->window_h, w, h);
                 state->window_w = w;
                 state->window_h = h;