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:
sezero committed 2018-02-12 17:00:00 +03:00
1 parent ba9ede12fb
commit 40b27fd51b
34 files changed
+174 -146

No files matched your search

+1 -1
View File
@@ -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);