x11: Fix a bogus return in Vulkan_GetPresentationSupport
This commit is contained in:
1 parent
40f9fd854f
commit
180b4d7e74
1 file changed
+2
-1
@@ -243,7 +243,8 @@ SDL_bool X11_Vulkan_GetPresentationSupport(SDL_VideoDevice *_this,
|
||||
VisualID visualid;
|
||||
|
||||
if (!_this->vulkan_config.loader_handle) {
|
||||
return SDL_SetError("Vulkan is not loaded");
|
||||
SDL_SetError("Vulkan is not loaded");
|
||||
return SDL_FALSE;
|
||||
}
|
||||
vkGetInstanceProcAddr = (PFN_vkGetInstanceProcAddr)_this->vulkan_config.vkGetInstanceProcAddr;
|
||||
|
||||
|
||||
Reference in new issue
Block a user