Commit 9c38244f5dcefc17f7672069d8828166bfa1bd1d

Ryan C. Gordon 2014-12-24T13:21:28

Really patched to compile this time?

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
diff --git a/test/testgesture.c b/test/testgesture.c
index dcf9788..f7282ac 100644
--- a/test/testgesture.c
+++ b/test/testgesture.c
@@ -170,7 +170,6 @@ SDL_Window* initWindow(SDL_Window *window, int width,int height)
 
 void loop()
 {
-    static SDL_Window *window = NULL;
     SDL_Event event;
     SDL_RWops *stream;
 
@@ -267,7 +266,7 @@ void loop()
         break;
       }
     }
-    DrawScreen(screen);
+    DrawScreen(screen, window);
 }
 
 int main(int argc, char* argv[])