Ryan C. Gordon пре 11 година
родитељ
комит
9f111ce4b9
1 измењених фајлова са 1 додато и 0 уклоњено
  1. 1 0
      test/testgesture.c

+ 1 - 0
test/testgesture.c

@@ -170,6 +170,7 @@ SDL_Window* initWindow(SDL_Window *window, int width,int height)
 
 void loop()
 {
+    static SDL_Window *window = NULL;
     SDL_Event event;
     SDL_RWops *stream;