mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-09-15 07:48:14 +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:
@@ -33,7 +33,7 @@ static int
|
||||
LoadDBUSSyms(void)
|
||||
{
|
||||
#define SDL_DBUS_SYM2(x, y) \
|
||||
if (!(*(void**)&dbus.x = SDL_LoadFunction(dbus_handle, #y))) return -1
|
||||
if (!(dbus.x = SDL_LoadFunction(dbus_handle, #y))) return -1
|
||||
|
||||
#define SDL_DBUS_SYM(x) \
|
||||
SDL_DBUS_SYM2(x, dbus_##x)
|
||||
|
Reference in New Issue
Block a user