mirror of https://github.com/encounter/SDL.git
Fixed typo in Vulkan load logic
This commit is contained in:
parent
45e3521d0d
commit
d46dd103d9
|
@ -1771,7 +1771,7 @@ SDL_RecreateWindow(SDL_Window * window, Uint32 flags)
|
|||
loaded_opengl = SDL_TRUE;
|
||||
}
|
||||
|
||||
if (need_vulkan_unload) {
|
||||
if (need_vulkan_load) {
|
||||
if (SDL_Vulkan_LoadLibrary(NULL) < 0) {
|
||||
return -1;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue