Ver código fonte

Fixed build.

Бранимир Караџић 5 anos atrás
pai
commit
ca48dd5764
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      src/thread.cpp

+ 1 - 1
src/thread.cpp

@@ -280,7 +280,7 @@ namespace bx
 		// Try to use the new thread naming API from Win10 Creators update onwards if we have it
 		// Try to use the new thread naming API from Win10 Creators update onwards if we have it
 		typedef HRESULT (WINAPI *SetThreadDescriptionProc)(HANDLE, PCWSTR);
 		typedef HRESULT (WINAPI *SetThreadDescriptionProc)(HANDLE, PCWSTR);
 		SetThreadDescriptionProc SetThreadDescription = bx::functionCast<SetThreadDescriptionProc>(
 		SetThreadDescriptionProc SetThreadDescription = bx::functionCast<SetThreadDescriptionProc>(
-			  GetProcAddressA(GetModuleHandleA("Kernel32.dll"), "SetThreadDescription")
+			  GetProcAddress(GetModuleHandleA("Kernel32.dll"), "SetThreadDescription")
 			);
 			);
 		if (SetThreadDescription)
 		if (SetThreadDescription)
 		{
 		{