Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
- disable the wipe code entirely when a stereo3D mode is active.
This simply cannot work right so let's better outright disable it.
  • Loading branch information
coelckers committed Jun 24, 2018
1 parent a4622e7 commit 6584944
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/d_main.cpp
Expand Up @@ -104,6 +104,7 @@

EXTERN_CVAR(Bool, hud_althud)
EXTERN_CVAR(Bool, fullscreen)
EXTERN_CVAR(Int, vr_mode)
void DrawHUD();
void D_DoAnonStats();

Expand Down Expand Up @@ -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)
{
Expand Down

0 comments on commit 6584944

Please sign in to comment.