mesa: free the fallback texture object in free_shared_state()

This commit is contained in:
Brian Paul
2010-08-27 10:51:47 -06:00
parent 476adf796b
commit c8e0970667

View File

@@ -288,6 +288,10 @@ free_shared_state(GLcontext *ctx, struct gl_shared_state *shared)
{
GLuint i;
/* Free the dummy/fallback texture object */
if (shared->FallbackTex)
ctx->Driver.DeleteTexture(ctx, shared->FallbackTex);
/*
* Free display lists
*/