- fix weapon missing when bloom was off (scene was already copied to post processing, but nothing had bound the PP frame buffer)

This commit is contained in:
Magnus Norddahl 2018-06-17 01:45:20 +02:00
parent 523104b2a8
commit b4351e538f

View file

@ -65,6 +65,7 @@ void FGLRenderer::PostProcessScene(int fixedcm, const std::function<void()> &aft
UpdateCameraExposure(); UpdateCameraExposure();
mCustomPostProcessShaders->Run("beforebloom"); mCustomPostProcessShaders->Run("beforebloom");
BloomScene(fixedcm); BloomScene(fixedcm);
mBuffers->BindCurrentFB();
afterBloomDrawEndScene2D(); afterBloomDrawEndScene2D();
TonemapScene(); TonemapScene();
ColormapScene(fixedcm); ColormapScene(fixedcm);