mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-10 14:51:40 +00:00
Add missing IsEnabled check
This commit is contained in:
parent
63dc394913
commit
d83a72f361
1 changed files with 1 additions and 1 deletions
|
@ -863,7 +863,7 @@ sector_t * FGLRenderer::RenderViewpoint (AActor * camera, GL_IRECT * bounds, flo
|
||||||
DrawBlend(lviewsector);
|
DrawBlend(lviewsector);
|
||||||
}
|
}
|
||||||
mDrawingScene2D = false;
|
mDrawingScene2D = false;
|
||||||
if (!stereo3dMode.IsMono())
|
if (!stereo3dMode.IsMono() && FGLRenderBuffers::IsEnabled())
|
||||||
mBuffers->BlitToEyeTexture(eye_ix);
|
mBuffers->BlitToEyeTexture(eye_ix);
|
||||||
eye->TearDown();
|
eye->TearDown();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue