fix compile

This commit is contained in:
Alug committed 2025-05-01 08:55:08 +01:00
1 parent a1a4b7cfbf
commit c0aa3e48cd
1 file changed
+1 -1
+1 -1
View File
@@ -1191,7 +1191,7 @@ void I_GetEvent(void)
Impl_HandleWindowEvent(evt.window);
#ifdef _WIN32
// Hack: on windows, when moving game window, sdl gets stuck handling those events, which may cause timeouts in netgames
if (evt.window == SDL_WINDOWEVENT_MOVED || evt.window == SDL_WINDOWEVENT_RESIZED || evt.window == SDL_WINDOWEVENT_SIZE_CHANGED)
if (evt.window.event == SDL_WINDOWEVENT_MOVED || evt.window.event == SDL_WINDOWEVENT_RESIZED || evt.window.event == SDL_WINDOWEVENT_SIZE_CHANGED)
goto exitpoolevent;
#endif
break;