summaryrefslogtreecommitdiffstats
path: root/drivers/gles3/effects/glow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gles3/effects/glow.cpp')
-rw-r--r--drivers/gles3/effects/glow.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gles3/effects/glow.cpp b/drivers/gles3/effects/glow.cpp
index 9fc2eef65b..9728b089aa 100644
--- a/drivers/gles3/effects/glow.cpp
+++ b/drivers/gles3/effects/glow.cpp
@@ -31,6 +31,7 @@
#ifdef GLES3_ENABLED
#include "glow.h"
+#include "../storage/texture_storage.h"
using namespace GLES3;
@@ -166,7 +167,7 @@ void Glow::process_glow(GLuint p_source_color, Size2i p_size, const Glow::GLOWLE
glDepthMask(GL_TRUE);
glUseProgram(0);
glBindTexture(GL_TEXTURE_2D, 0);
- glBindFramebuffer(GL_FRAMEBUFFER, 0);
+ glBindFramebuffer(GL_FRAMEBUFFER, GLES3::TextureStorage::system_fbo);
}
#endif // GLES3_ENABLED