- preparations for using clip planes on line portals.

This commit is contained in:
Christoph Oelckers 2016-04-29 01:48:06 +02:00
commit 21283b18f4
12 changed files with 133 additions and 70 deletions

View file

@ -503,7 +503,7 @@ void FGLRenderer::DrawScene(bool toscreen)
static int recursion=0;
CreateScene();
GLRenderer->mCurrentPortal = NULL; // this must be reset before any portal recursion takes place.
GLRenderer->mClipPortal = NULL; // this must be reset before any portal recursion takes place.
// Up to this point in the main draw call no rendering is performed so we can wait
// with swapping the render buffer until now.