mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-11 15:21:51 +00:00
Move ApplyFXAA to PostProcessScene
This commit is contained in:
parent
9c8f841858
commit
dcb6c1ac3a
2 changed files with 1 additions and 1 deletions
|
@ -137,6 +137,7 @@ void FGLRenderer::PostProcessScene()
|
||||||
TonemapScene();
|
TonemapScene();
|
||||||
ColormapScene();
|
ColormapScene();
|
||||||
LensDistortScene();
|
LensDistortScene();
|
||||||
|
ApplyFXAA();
|
||||||
}
|
}
|
||||||
|
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
|
|
|
@ -854,7 +854,6 @@ sector_t * FGLRenderer::RenderViewpoint (AActor * camera, GL_IRECT * bounds, flo
|
||||||
if (mainview && FGLRenderBuffers::IsEnabled())
|
if (mainview && FGLRenderBuffers::IsEnabled())
|
||||||
{
|
{
|
||||||
PostProcessScene();
|
PostProcessScene();
|
||||||
ApplyFXAA();
|
|
||||||
|
|
||||||
// This should be done after postprocessing, not before.
|
// This should be done after postprocessing, not before.
|
||||||
mBuffers->BindCurrentFB();
|
mBuffers->BindCurrentFB();
|
||||||
|
|
Loading…
Reference in a new issue