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
2018-02-12 17:00:00 +03:00
parent ba9ede12fb
commit 40b27fd51b
34 changed files with 174 additions and 146 deletions

View File

@@ -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 */