mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-10-05 01:16:26 +00:00
Fixed typo in Vulkan load logic
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user