Backed out changeset ef550bdb8c1b
authorSam Lantinga <slouken@libsdl.org>
Mon, 28 Mar 2011 20:33:41 -0700
changeset 5522 38bd9696f659
parent 5521 ef550bdb8c1b
child 5523 6dc03727fadc
Backed out changeset ef550bdb8c1b
test/common.c
--- a/test/common.c	Mon Mar 28 23:20:54 2011 -0400
+++ b/test/common.c	Mon Mar 28 20:33:41 2011 -0700
@@ -1040,24 +1040,6 @@
 				}
 			}
             break;
-
-        case SDL_WINDOWEVENT_RESIZED:
-            {
-                SDL_Window *window = SDL_GetWindowFromID(event->window.windowID);
-                if (!window) {
-                    break;
-                }
-
-                for (i = 0; i < state->num_windows; ++i) {
-                    if (state->windows[i] == window) {
-                        if (state->renderers[i]) {
-                            SDL_RenderSetViewport(state->renderers[i], NULL);
-                        }
-                        break;
-                    }
-                }
-            }
-            break;
         }
         break;
     case SDL_KEYDOWN: