mirror of
https://github.com/ZDoom/qzdoom-gpl.git
synced 2024-11-24 04:41:53 +00:00
Fix missing flash if multisampling was on and no post processing effects active
This commit is contained in:
parent
5f02e08c8e
commit
527703ae8c
1 changed files with 5 additions and 1 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue