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>
This commit is contained in:
parent
cd996c1b85
commit
0db6230cf6
1
src/3rdparty/angle/src/libGLESv2/Shader.cpp
vendored
1
src/3rdparty/angle/src/libGLESv2/Shader.cpp
vendored
@ -37,6 +37,7 @@ Shader::Shader(ResourceManager *manager, rx::ShaderImpl *impl, GLenum type, GLui
|
||||
|
||||
Shader::~Shader()
|
||||
{
|
||||
SafeDelete(mShader);
|
||||
}
|
||||
|
||||
GLuint Shader::getHandle() const
|
||||
|
Loading…
Reference in New Issue
Block a user