diff options
| author | Andre Weissflog <floooh@gmail.com> | 2020-10-14 12:47:11 +0200 |
|---|---|---|
| committer | Andre Weissflog <floooh@gmail.com> | 2020-10-14 12:47:11 +0200 |
| commit | 497fbd2a37994e2e786be4b746173752b5092e8a (patch) | |
| tree | e1657bdd0e09f5c2d63849921a26aec8ee155df9 | |
| parent | 3fcd4058c4357a97cbb00c36d6da306c4f9d7437 (diff) | |
sokol_app.h win32: GetModuleHandleA => GetModuleHandleW
| -rw-r--r-- | sokol_app.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sokol_app.h b/sokol_app.h index f2bf9ffb..a007d5a1 100644 --- a/sokol_app.h +++ b/sokol_app.h @@ -5712,7 +5712,7 @@ _SOKOL_PRIVATE void _sapp_win32_update_window_title(void) { From: https://github.com/videolan/vlc/blob/232fb13b0d6110c4d1b683cde24cf9a7f2c5c2ea/modules/video_output/win32/d3d11_swapchain.c#L263 */ _SOKOL_PRIVATE bool _sapp_win32_is_win10_or_greater(void) { - HMODULE h = GetModuleHandleA("kernel32.dll"); + HMODULE h = GetModuleHandleW(L"kernel32.dll"); if (NULL != h) { return (NULL != GetProcAddress(h, "GetSystemCpuSetInformation")); } |