- disable the wipe code entirely when a stereo3D mode is active.

This simply cannot work right so let's better outright disable it.
This commit is contained in:
Christoph Oelckers 2018-06-24 09:32:46 +02:00
parent a4622e70d0
commit 65849441e5
1 changed files with 2 additions and 1 deletions

View File

@ -104,6 +104,7 @@
EXTERN_CVAR(Bool, hud_althud)
EXTERN_CVAR(Bool, fullscreen)
EXTERN_CVAR(Int, vr_mode)
void DrawHUD();
void D_DoAnonStats();
@ -706,7 +707,7 @@ void D_Display ()
wipe = false;
wipegamestate = gamestate;
}
else if (gamestate != wipegamestate && gamestate != GS_FULLCONSOLE && gamestate != GS_TITLELEVEL)
else if (gamestate != wipegamestate && gamestate != GS_FULLCONSOLE && gamestate != GS_TITLELEVEL && (vr_mode == 0 || vid_rendermode != 4))
{ // save the current screen if about to wipe
switch (wipegamestate)
{