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:
Jocelyn Turcotte 2014-10-27 14:55:08 +01:00
parent cd996c1b85
commit 0db6230cf6

View File

@ -37,6 +37,7 @@ Shader::Shader(ResourceManager *manager, rx::ShaderImpl *impl, GLenum type, GLui
Shader::~Shader()
{
SafeDelete(mShader);
}
GLuint Shader::getHandle() const