summaryrefslogtreecommitdiffstats
path: root/drivers/gles3/effects/post_effects.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gles3/effects/post_effects.cpp')
-rw-r--r--drivers/gles3/effects/post_effects.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gles3/effects/post_effects.cpp b/drivers/gles3/effects/post_effects.cpp
index 75af068ab5..8ad872f319 100644
--- a/drivers/gles3/effects/post_effects.cpp
+++ b/drivers/gles3/effects/post_effects.cpp
@@ -31,6 +31,7 @@
#ifdef GLES3_ENABLED
#include "post_effects.h"
+#include "../storage/texture_storage.h"
using namespace GLES3;
@@ -146,7 +147,7 @@ void PostEffects::post_copy(GLuint p_dest_framebuffer, Size2i p_dest_size, GLuin
glEnable(GL_DEPTH_TEST);
glDepthMask(GL_TRUE);
glUseProgram(0);
- glBindFramebuffer(GL_FRAMEBUFFER, 0);
+ glBindFramebuffer(GL_FRAMEBUFFER, GLES3::TextureStorage::system_fbo);
}
#endif // GLES3_ENABLED