Pass the missing fullscreen flag when creating a Vukan window.

This commit is contained in:
Vanfanel 2021-07-21 12:39:29 +02:00 committed by alexey.lysiuk
parent d9a7465c08
commit 2aea69b48a

View file

@ -408,7 +408,7 @@ SDLVideo::SDLVideo ()
if (Priv::vulkanEnabled)
{
Priv::CreateWindow(Priv::VulkanWindowFlag | SDL_WINDOW_HIDDEN);
Priv::CreateWindow(Priv::VulkanWindowFlag | SDL_WINDOW_HIDDEN | (vid_fullscreen ? SDL_WINDOW_FULLSCREEN_DESKTOP : 0));
if (Priv::window == nullptr)
{