mirror of
https://github.com/encounter/SDL.git
synced 2025-12-20 10:25:28 +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:
@@ -81,8 +81,8 @@ extern SDL_bool SDL_Vulkan_GetInstanceExtensions_Helper(unsigned *userCount,
|
||||
/* No SDL Vulkan support, just include the header for typedefs */
|
||||
#include "SDL_vulkan.h"
|
||||
|
||||
typedef void* PFN_vkGetInstanceProcAddr;
|
||||
typedef void* PFN_vkEnumerateInstanceExtensionProperties;
|
||||
typedef void (*PFN_vkGetInstanceProcAddr) ();
|
||||
typedef int (*PFN_vkEnumerateInstanceExtensionProperties) ();
|
||||
|
||||
#endif /* SDL_VIDEO_VULKAN */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user