diff --git a/src/p7screen/main.c b/src/p7screen/main.c index 0f2d504..c29c843 100644 --- a/src/p7screen/main.c +++ b/src/p7screen/main.c @@ -105,13 +105,6 @@ static int display_callback(int w, int h, uint32_t **pixels) /* update screen */ SDL_Flip(screen); - /* check if user has pressed escape or cross */ - SDL_Event event; - SDL_PollEvent(&event); - if ((event.type == SDL_KEYDOWN && event.key.keysym.sym == SDLK_ESCAPE) - || event.type == SDL_QUIT) - return (0); - /* continue! */ return (1); }