Add missing IsEnabled check

This commit is contained in:
Magnus Norddahl 2016-09-08 21:24:25 +02:00 committed by Christoph Oelckers
parent 63dc394913
commit d83a72f361

View file

@ -863,7 +863,7 @@ sector_t * FGLRenderer::RenderViewpoint (AActor * camera, GL_IRECT * bounds, flo
DrawBlend(lviewsector);
}
mDrawingScene2D = false;
if (!stereo3dMode.IsMono())
if (!stereo3dMode.IsMono() && FGLRenderBuffers::IsEnabled())
mBuffers->BlitToEyeTexture(eye_ix);
eye->TearDown();
}