mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-11 23:32:04 +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();
|
TonemapScene();
|
||||||
ColormapScene();
|
ColormapScene();
|
||||||
LensDistortScene();
|
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;
|
mDrawingScene2D = false;
|
||||||
eye->TearDown();
|
eye->TearDown();
|
||||||
|
|
Loading…
Reference in a new issue