mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-09-27 05:28:29 +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:
@@ -50,7 +50,7 @@ SDL_GetBasePath(void)
|
||||
return NULL;
|
||||
}
|
||||
|
||||
*(void**)&pGetModuleFileNameExW = GetProcAddress(psapi, "GetModuleFileNameExW");
|
||||
pGetModuleFileNameExW = (GetModuleFileNameExW_t)GetProcAddress(psapi, "GetModuleFileNameExW");
|
||||
if (!pGetModuleFileNameExW) {
|
||||
WIN_SetError("Couldn't find GetModuleFileNameExW");
|
||||
FreeLibrary(psapi);
|
||||
|
Reference in New Issue
Block a user