From 65849441e52c6abb6e85663fd473b8a4ff6534c4 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Sun, 24 Jun 2018 09:32:46 +0200 Subject: [PATCH] - disable the wipe code entirely when a stereo3D mode is active. This simply cannot work right so let's better outright disable it. --- src/d_main.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/d_main.cpp b/src/d_main.cpp index b3556c1db..66c0e3c33 100644 --- a/src/d_main.cpp +++ b/src/d_main.cpp @@ -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) {