Really patched to compile this time?
authorRyan C. Gordon <icculus@icculus.org>
Wed, 24 Dec 2014 13:21:28 -0500
changeset 9287 644bf5f51d5c
parent 9286 1672160a8bc1
child 9288 573ebcb470a3
Really patched to compile this time?
test/testgesture.c
--- a/test/testgesture.c	Wed Dec 24 13:16:27 2014 -0500
+++ b/test/testgesture.c	Wed Dec 24 13:21:28 2014 -0500
@@ -170,7 +170,6 @@
 
 void loop()
 {
-    static SDL_Window *window = NULL;
     SDL_Event event;
     SDL_RWops *stream;
 
@@ -267,7 +266,7 @@
         break;
       }
     }
-    DrawScreen(screen);
+    DrawScreen(screen, window);
 }
 
 int main(int argc, char* argv[])