projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
89f47d1
)
mesa: add missing FEATURE_attrib_stack around
author
Alan Hourihane
<alanh@tungstengraphics.com>
Fri, 19 Sep 2008 13:55:49 +0000
(14:55 +0100)
committer
Alan Hourihane
<alanh@tungstengraphics.com>
Fri, 19 Sep 2008 13:55:49 +0000
(14:55 +0100)
call to _mesa_free_attrib_data()
src/mesa/main/context.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/context.c
b/src/mesa/main/context.c
index 96a8c30106a27e5206f8ede556857790b9a26b87..564139a8654d8379ed7ac98db64cc1fd6a02f75f 100644
(file)
--- a/
src/mesa/main/context.c
+++ b/
src/mesa/main/context.c
@@
-1316,7
+1316,9
@@
_mesa_free_context_data( GLcontext *ctx )
_mesa_reference_fragprog(ctx, &ctx->FragmentProgram._Current, NULL);
_mesa_reference_fragprog(ctx, &ctx->FragmentProgram._TexEnvProgram, NULL);
+#if FEATURE_attrib_stack
_mesa_free_attrib_data(ctx);
+#endif
_mesa_free_lighting_data( ctx );
#if FEATURE_evaluators
_mesa_free_eval_data( ctx );