mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2024-12-16 11:06:49 +01:00
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;
|
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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user