Move ApplyFXAA to PostProcessScene

This commit is contained in:
Magnus Norddahl 2016-10-03 23:30:00 +02:00
parent 9c8f841858
commit dcb6c1ac3a
2 changed files with 1 additions and 1 deletions

View file

@ -137,6 +137,7 @@ void FGLRenderer::PostProcessScene()
TonemapScene(); TonemapScene();
ColormapScene(); ColormapScene();
LensDistortScene(); LensDistortScene();
ApplyFXAA();
} }
//----------------------------------------------------------------------------- //-----------------------------------------------------------------------------

View file

@ -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();