From 8035e3d4bd8fd06595d1fc4f2d425869689b3a1f Mon Sep 17 00:00:00 2001 From: jacob Date: Thu, 4 Apr 2024 17:10:42 -0500 Subject: [PATCH] fix - use W versions of GetMessage & DispatchMessage --- src/sys_win32.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; } }