Преглед изворни кода

Really patched to compile this time?

Ryan C. Gordon пре 11 година
родитељ
комит
9c38244f5d
1 измењених фајлова са 1 додато и 2 уклоњено
  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[])