summaryrefslogtreecommitdiffstats
path: root/src/3rdparty/angle/src
diff options
context:
space:
mode:
authorJocelyn Turcotte <jocelyn.turcotte@digia.com>2014-10-27 14:55:08 +0100
committerJocelyn Turcotte <jocelyn.turcotte@digia.com>2014-10-27 15:20:44 +0100
commit0db6230cf603926c297362c7d483d27eee4fd01a (patch)
treebbb7da2e0e57f082962f8aebdce026967a7c91a8 /src/3rdparty/angle/src
parentcd996c1b85313e89e781f5bd02e5aeae98b69d73 (diff)
ANGLE: Delete the ShaderImpl on gl::Shader object destruction.
Cherry-picked from https://chromium-review.googlesource.com/224106 Task-number: QTBUG-41588 Change-Id: I27d75da76cec0b3341f549a3e6891c1c6d321358 Reviewed-by: Andrew Knight <andrew.knight@digia.com>
Diffstat (limited to 'src/3rdparty/angle/src')
-rw-r--r--src/3rdparty/angle/src/libGLESv2/Shader.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/3rdparty/angle/src/libGLESv2/Shader.cpp b/src/3rdparty/angle/src/libGLESv2/Shader.cpp
index e3da2b1a9e..4cf5251ff9 100644
--- a/src/3rdparty/angle/src/libGLESv2/Shader.cpp
+++ b/src/3rdparty/angle/src/libGLESv2/Shader.cpp
@@ -37,6 +37,7 @@ Shader::Shader(ResourceManager *manager, rx::ShaderImpl *impl, GLenum type, GLui
Shader::~Shader()
{
+ SafeDelete(mShader);
}
GLuint Shader::getHandle() const