1
0
Fork 0

source/Platform/Win32/Win32EventQueue.cpp: should not return status from DispatchMessage()

this can falsely signal that we have translated a win32 event to engine event when in fact we have not.
This commit is contained in:
Henrik Hautakoski 2020-12-05 15:22:48 +01:00
parent 92f42a08fb
commit 363afe111b

View file

@ -73,7 +73,8 @@ LRESULT Win32EventQueue::processMessage(MSG msg, Event& event)
}
// Message was not intercepted. Pass down to window.
return DispatchMessage(&msg);
DispatchMessage(&msg);
return 1;
}
} // namespace sp