diff --git a/blupi.cpp b/blupi.cpp index 0c275a3..550cf3d 100644 --- a/blupi.cpp +++ b/blupi.cpp @@ -671,7 +671,7 @@ int WINAPI WinMain (HINSTANCE hInstance, HINSTANCE hPrevInstance, while (SDL_TRUE) { SDL_Event event; - while (SDL_PollEvent (&event)) + while (SDL_WaitEvent (&event)) WindowProc2 (event); }