Don't erase the cached program binary on deletion.

Trac #21270 Bug=351 Signed-off-by: Nicolas Capens This is unnecessary since the current program can never be deleted, only flagged for deletion. git-svn-id: https://angleproject.googlecode.com/svn/trunk@1236 736b8ea6-26fd-11df-bfd4-992fa37f6226
parent 62a2846c
......@@ -983,7 +983,6 @@ void Context::deleteShader(GLuint shader)
void Context::deleteProgram(GLuint program)
{
mResourceManager->deleteProgram(program);
mCachedCurrentProgramBinary = NULL;
}
void Context::deleteTexture(GLuint texture)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment