diff --git a/src/sys_win32.c b/src/sys_win32.c index 0d574c37..433778ba 100644 --- a/src/sys_win32.c +++ b/src/sys_win32.c @@ -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; } }