mirror of
https://github.com/encounter/SDL.git
synced 2025-12-14 23:56:19 +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:
@@ -74,7 +74,7 @@ DSOUND_Load(void)
|
||||
} else {
|
||||
/* Now make sure we have DirectX 8 or better... */
|
||||
#define DSOUNDLOAD(f) { \
|
||||
*(void**)&p##f = SDL_LoadFunction(DSoundDLL, #f); \
|
||||
p##f = (fn##f) SDL_LoadFunction(DSoundDLL, #f); \
|
||||
if (!p##f) loaded = 0; \
|
||||
}
|
||||
loaded = 1; /* will reset if necessary. */
|
||||
|
||||
Reference in New Issue
Block a user