mirror of https://github.com/libsdl-org/SDL
x11: Fix a bogus return in Vulkan_GetPresentationSupport
This commit is contained in:
parent
40f9fd854f
commit
180b4d7e74
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue