mesa: free the fallback texture object in free_shared_state()
This commit is contained in:
@@ -288,6 +288,10 @@ free_shared_state(GLcontext *ctx, struct gl_shared_state *shared)
|
|||||||
{
|
{
|
||||||
GLuint i;
|
GLuint i;
|
||||||
|
|
||||||
|
/* Free the dummy/fallback texture object */
|
||||||
|
if (shared->FallbackTex)
|
||||||
|
ctx->Driver.DeleteTexture(ctx, shared->FallbackTex);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Free display lists
|
* Free display lists
|
||||||
*/
|
*/
|
||||||
|
Reference in New Issue
Block a user