mirror of
https://github.com/glfw/glfw.git
synced 2026-09-22 16:52:57 +00:00
Win32: Fix calls to encoding compatibility macros
Calls to Unicode specific functions should be made explicit.
This commit is contained in:
committed by
Camilla Löwy
parent
723f3eb40d
commit
8ff9ed92b4
@@ -574,7 +574,7 @@ GLFWbool _glfwInitJoysticksWin32(void)
|
||||
{
|
||||
if (_glfw.win32.dinput8.instance)
|
||||
{
|
||||
if (FAILED(DirectInput8Create(GetModuleHandle(NULL),
|
||||
if (FAILED(DirectInput8Create(GetModuleHandleW(NULL),
|
||||
DIRECTINPUT_VERSION,
|
||||
&IID_IDirectInput8W,
|
||||
(void**) &_glfw.win32.dinput8.api,
|
||||
|
||||
Reference in New Issue
Block a user