From 1d40851600f3f56e42c096954412b08a5415bf7d Mon Sep 17 00:00:00 2001 From: vlj Date: Mon, 21 Apr 2014 00:52:18 +0200 Subject: [PATCH] Fix light shaft --- src/graphics/post_processing.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/graphics/post_processing.cpp b/src/graphics/post_processing.cpp index 0f5ec9af3..6561032cd 100644 --- a/src/graphics/post_processing.cpp +++ b/src/graphics/post_processing.cpp @@ -705,7 +705,7 @@ void PostProcessing::render() // Fade to quarter glBindFramebuffer(GL_FRAMEBUFFER, irr_driver->getFBO(FBO_QUARTER1)); glViewport(0, 0, UserConfigParams::m_width / 4, UserConfigParams::m_height / 4); - renderGodFade(irr_driver->getRenderTargetTexture(RTT_TMP2), col); + renderGodFade(out_rtt, col); // Blur renderGaussian3Blur(irr_driver->getFBO(FBO_QUARTER1), irr_driver->getRenderTargetTexture(RTT_QUARTER1),