- 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

View file

@ -104,6 +104,7 @@
EXTERN_CVAR(Bool, hud_althud) EXTERN_CVAR(Bool, hud_althud)
EXTERN_CVAR(Bool, fullscreen) EXTERN_CVAR(Bool, fullscreen)
EXTERN_CVAR(Int, vr_mode)
void DrawHUD(); void DrawHUD();
void D_DoAnonStats(); void D_DoAnonStats();
@ -706,7 +707,7 @@ void D_Display ()
wipe = false; wipe = false;
wipegamestate = gamestate; 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 { // save the current screen if about to wipe
switch (wipegamestate) switch (wipegamestate)
{ {