More portal fixing in software renderer

This commit is contained in:
ZZYZX 2017-01-22 07:50:18 +02:00
commit a226337185
2 changed files with 6 additions and 3 deletions

View file

@ -59,6 +59,7 @@
#include "v_palette.h"
#include "r_data/colormaps.h"
#include "g_levellocals.h"
#include "events.h"
#ifdef _MSC_VER
#pragma warning(disable:4244)
@ -1178,6 +1179,8 @@ void R_DrawPortals ()
R_SetViewAngle ();
validcount++; // Make sure we see all sprites
E_RenderCamera();
R_ClearPlanes (false);
R_ClearClipSegs (pl->left, pl->right);
WindowLeft = pl->left;