mirror of
https://github.com/edubart/otclient.git
synced 2025-10-17 04:53:27 +02:00
fix dumbfounding issue on win32 that caused HUGE lags
This commit is contained in:
@@ -406,7 +406,7 @@ void WIN32Window::poll()
|
||||
fireKeysPress();
|
||||
|
||||
MSG msg;
|
||||
if(PeekMessage(&msg, NULL, 0, 0, PM_REMOVE)) {
|
||||
while(PeekMessage(&msg, NULL, 0, 0, PM_REMOVE)) {
|
||||
TranslateMessage(&msg);
|
||||
DispatchMessage(&msg);
|
||||
}
|
||||
|
Reference in New Issue
Block a user