diff options
author | Alan Hourihane <[email protected]> | 2008-09-19 14:55:49 +0100 |
---|---|---|
committer | Alan Hourihane <[email protected]> | 2008-09-19 14:55:49 +0100 |
commit | 13e7e4b634a94efe14f4d79723844d5fdfe12ad4 (patch) | |
tree | 67e670340727e58c84916c97b898a91c15656da0 /src | |
parent | 89f47d1645c9f8a61de59792a85d1f380c0b3524 (diff) |
mesa: add missing FEATURE_attrib_stack around
call to _mesa_free_attrib_data()
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/main/context.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/main/context.c b/src/mesa/main/context.c index 96a8c30106a..564139a8654 100644 --- 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 ); |