Branimir Karadžić 9 vuotta sitten
vanhempi
sitoutus
19c751898e
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      include/bx/sem.h

+ 1 - 1
include/bx/sem.h

@@ -226,7 +226,7 @@ namespace bx
 		Semaphore()
 		{
 #if BX_PLATFORM_XBOXONE || BX_PLATFORM_WINRT
-			m_handle = CreateSemaphoreEx(NULL, 0, LONG_MAX, NULL, 0, SEMAPHORE_ALL_ACCESS);
+			m_handle = CreateSemaphoreExW(NULL, 0, LONG_MAX, NULL, 0, SEMAPHORE_ALL_ACCESS);
 #else
 			m_handle = CreateSemaphoreA(NULL, 0, LONG_MAX, NULL);
 #endif