main: Don't create SDL Vulkan surface if in a VRSession
Fixes a regression from the present queue stuff.
This commit is contained in:
parent
19cac186e1
commit
c78294f2e5
1 changed files with 1 additions and 1 deletions
|
@ -640,7 +640,7 @@ int main(int argc, char **argv)
|
|||
return 1;
|
||||
}
|
||||
|
||||
if ( BIsNested() )
|
||||
if ( BIsNested() && !BIsVRSession() )
|
||||
{
|
||||
if ( !SDL_Vulkan_CreateSurface( g_SDLWindow, instance, &surface ) )
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue