Browse Source

Really patched to compile this time?

Ryan C. Gordon 10 years ago
parent
commit
9c38244f5d
1 changed files with 1 additions and 2 deletions
  1. 1 2
      test/testgesture.c

+ 1 - 2
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[])