Fix missing flash if multisampling was on and no post processing effects active

This commit is contained in:
Magnus Norddahl 2016-09-04 03:21:47 +02:00
parent 5f02e08c8e
commit 527703ae8c

View file

@ -856,7 +856,11 @@ sector_t * FGLRenderer::RenderViewpoint (AActor * camera, GL_IRECT * bounds, flo
TonemapScene();
ColormapScene();
LensDistortScene();
DrawBlend(viewsector); // This should be done after postprocessing, not before.
// This should be done after postprocessing, not before.
mBuffers->BindCurrentFB();
glViewport(mScreenViewport.left, mScreenViewport.top, mScreenViewport.width, mScreenViewport.height);
DrawBlend(viewsector);
}
mDrawingScene2D = false;
eye->TearDown();