diff --git a/src/gl/renderer/gl_renderer.cpp b/src/gl/renderer/gl_renderer.cpp index 84d02159f..ae7c7d93c 100644 --- a/src/gl/renderer/gl_renderer.cpp +++ b/src/gl/renderer/gl_renderer.cpp @@ -286,6 +286,9 @@ void FGLRenderer::Begin2D() { if (FGLRenderBuffers::IsEnabled()) { + if (!mDrawingScene2D) // For when there's no scene rendered (main menu and intermission) + SetOutputViewport(nullptr); + mBuffers->Setup(mScreenViewport.width, mScreenViewport.height, mSceneViewport.width, mSceneViewport.height); if (mDrawingScene2D) mBuffers->BindSceneFB();