Fixed typo in Vulkan load logic

main
Sam Lantinga 2020-12-09 07:49:07 -08:00
parent 45e3521d0d
commit d46dd103d9
1 changed files with 1 additions and 1 deletions

View File

@ -1771,7 +1771,7 @@ SDL_RecreateWindow(SDL_Window * window, Uint32 flags)
loaded_opengl = SDL_TRUE; loaded_opengl = SDL_TRUE;
} }
if (need_vulkan_unload) { if (need_vulkan_load) {
if (SDL_Vulkan_LoadLibrary(NULL) < 0) { if (SDL_Vulkan_LoadLibrary(NULL) < 0) {
return -1; return -1;
} }