From: Alan Hourihane Date: Fri, 19 Sep 2008 13:55:49 +0000 (+0100) Subject: mesa: add missing FEATURE_attrib_stack around X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=13e7e4b634a94efe14f4d79723844d5fdfe12ad4;p=mesa.git mesa: add missing FEATURE_attrib_stack around call to _mesa_free_attrib_data() --- 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 );