about summary refs log tree commit diff
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main.c')
-rw-r--r--main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/main.c b/main.c
index 5269978..9f5dd1b 100644
--- a/main.c
+++ b/main.c
@@ -35,6 +35,8 @@ int main(int argc, char** argv)
         {
             if(event.type == SDL_QUIT)
                 goto exit;
+            if(event.type == SDL_WINDOWEVENT)
+                SDL_RenderPresent(renderer);
         }
 
         emulator_tick(&emulator);