projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
476adf7
)
mesa: free the fallback texture object in free_shared_state()
author
Brian Paul
<brianp@vmware.com>
Fri, 27 Aug 2010 16:51:47 +0000
(10:51 -0600)
committer
Brian Paul
<brianp@vmware.com>
Fri, 27 Aug 2010 16:51:47 +0000
(10:51 -0600)
src/mesa/main/shared.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/shared.c
b/src/mesa/main/shared.c
index cbe004518a0dbb237bc7621eeb481b1a3d462358..ea7e503cf3bad94947b07dc8386888f66de3ffc1 100644
(file)
--- a/
src/mesa/main/shared.c
+++ b/
src/mesa/main/shared.c
@@
-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
*/