Enable menu blur in stereo 3d.

Use more blitting to avoid confusing framebuffer state management in stereo 3D.
This commit is contained in:
Christopher Bruns 2019-02-26 21:15:13 -08:00 committed by Christoph Oelckers
commit 8becc0e78d
4 changed files with 37 additions and 16 deletions

View file

@ -448,9 +448,7 @@ void OpenGLFrameBuffer::Draw2D()
if (GLRenderer != nullptr)
{
FGLDebug::PushGroup("Draw2D");
if (VRMode::GetVRMode(true)->mEyeCount == 1)
GLRenderer->mBuffers->BindCurrentFB();
GLRenderer->mBuffers->BindCurrentFB();
::Draw2D(&m2DDrawer, gl_RenderState);
FGLDebug::PopGroup();
}