@@ -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;