src/render/software/SDL_render_sw.c
changeset 6283 03a7ceb3487b
parent 6247 b6212690f78d
child 6320 6077a1310907
--- a/src/render/software/SDL_render_sw.c	Tue Feb 07 02:11:42 2012 -0500
+++ b/src/render/software/SDL_render_sw.c	Tue Feb 07 19:34:24 2012 -0500
@@ -183,6 +183,7 @@
 
     if (event->event == SDL_WINDOWEVENT_SIZE_CHANGED) {
         data->surface = NULL;
+        data->window = NULL;
     }
 }