|
@@ -65,9 +65,9 @@ int WIN_Vulkan_LoadLibrary(SDL_VideoDevice *_this, const char *path)
|
|
if (!vkGetInstanceProcAddr) {
|
|
if (!vkGetInstanceProcAddr) {
|
|
goto fail;
|
|
goto fail;
|
|
}
|
|
}
|
|
- _this->vulkan_config.vkGetInstanceProcAddr = (void *)vkGetInstanceProcAddr;
|
|
|
|
|
|
+ _this->vulkan_config.vkGetInstanceProcAddr = (SDL_FunctionPointer)vkGetInstanceProcAddr;
|
|
_this->vulkan_config.vkEnumerateInstanceExtensionProperties =
|
|
_this->vulkan_config.vkEnumerateInstanceExtensionProperties =
|
|
- (void *)((PFN_vkGetInstanceProcAddr)_this->vulkan_config.vkGetInstanceProcAddr)(
|
|
|
|
|
|
+ (SDL_FunctionPointer)vkGetInstanceProcAddr(
|
|
VK_NULL_HANDLE, "vkEnumerateInstanceExtensionProperties");
|
|
VK_NULL_HANDLE, "vkEnumerateInstanceExtensionProperties");
|
|
if (!_this->vulkan_config.vkEnumerateInstanceExtensionProperties) {
|
|
if (!_this->vulkan_config.vkEnumerateInstanceExtensionProperties) {
|
|
goto fail;
|
|
goto fail;
|