fix - use W versions of GetMessage & DispatchMessage
This commit is contained in:
parent
e47ccbe8f3
commit
8035e3d4bd
@ -605,7 +605,7 @@ INTERNAL void window_thread_entry_point(void *arg)
|
||||
|
||||
while (!window->event_thread_shutdown) {
|
||||
MSG msg = {0};
|
||||
GetMessage(&msg, 0, 0, 0);
|
||||
GetMessageW(&msg, 0, 0, 0);
|
||||
|
||||
/* Update cursor */
|
||||
if (GetFocus() == window->hwnd) {
|
||||
@ -660,7 +660,7 @@ INTERNAL void window_thread_entry_point(void *arg)
|
||||
|
||||
default: {
|
||||
TranslateMessage(&msg);
|
||||
DispatchMessage(&msg);
|
||||
DispatchMessageW(&msg);
|
||||
} break;
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user