summaryrefslogtreecommitdiff
path: root/drivers/gles3/effects
diff options
context:
space:
mode:
authorclayjohn <claynjohn@gmail.com>2022-08-01 16:14:41 -0400
committerclayjohn <claynjohn@gmail.com>2022-08-01 16:45:32 -0400
commit4b80cb4aa3a351cd58a82dd5996bedf672f370ba (patch)
tree8b5d92dd3dce6dc6c27634e59a36c657e51a7ebf /drivers/gles3/effects
parent5ecd61a3150f87a433dd5a7ff49a842b72516640 (diff)
Fix various bugs in GLES3 renderer that stopped it from running on web
Diffstat (limited to 'drivers/gles3/effects')
-rw-r--r--drivers/gles3/effects/copy_effects.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gles3/effects/copy_effects.cpp b/drivers/gles3/effects/copy_effects.cpp
index c8e6c2b476..de0181f887 100644
--- a/drivers/gles3/effects/copy_effects.cpp
+++ b/drivers/gles3/effects/copy_effects.cpp
@@ -111,6 +111,7 @@ CopyEffects::~CopyEffects() {
glDeleteVertexArrays(1, &screen_triangle_array);
glDeleteBuffers(1, &quad);
glDeleteVertexArrays(1, &quad_array);
+ copy.shader.version_free(copy.shader_version);
}
void CopyEffects::copy_to_rect(const Rect2i &p_rect) {