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:
parent
ba9ede12fb
commit
40b27fd51b
34 changed files with 174 additions and 146 deletions
|
@ -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");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue