mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-10-06 01:46:25 +00:00
revert the recent typecast assignment changes (see bug #4079)
also change the void* typedefs for the two vulkan function pointers added in vulkan_internal.h into generic function pointer typedefs.
This commit is contained in:
@@ -178,7 +178,7 @@ SDL_SYS_SetupThread(const char *name)
|
||||
if (!kernel32) {
|
||||
kernel32 = LoadLibraryW(L"kernel32.dll");
|
||||
if (kernel32) {
|
||||
*(void**)&pSetThreadDescription = GetProcAddress(kernel32, "SetThreadDescription");
|
||||
pSetThreadDescription = (pfnSetThreadDescription) GetProcAddress(kernel32, "SetThreadDescription");
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user