diff options
author | Chia-I Wu <[email protected]> | 2009-09-07 18:20:10 +0800 |
---|---|---|
committer | Brian Paul <[email protected]> | 2009-09-30 08:31:55 -0600 |
commit | 2b36db496d34c60a3f987fa88d52bf5684713240 (patch) | |
tree | 81ff6b06ceda9744b7959a907be75bac616067a0 /src/mesa/main/context.c | |
parent | a833ff0f53da6e365d917bb0081d909a809b6ec1 (diff) |
mesa/main: Make FEATURE_attrib_stack follow feature conventions.
As shown in mfeatures.h, this allows users of attrib.h to work without
knowing if the feature is available.
Diffstat (limited to 'src/mesa/main/context.c')
-rw-r--r-- | src/mesa/main/context.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/mesa/main/context.c b/src/mesa/main/context.c index df194c3edb9..53a21ba4f57 100644 --- a/src/mesa/main/context.c +++ b/src/mesa/main/context.c @@ -82,9 +82,7 @@ #include "accum.h" #include "api_exec.h" #include "arrayobj.h" -#if FEATURE_attrib_stack #include "attrib.h" -#endif #include "blend.h" #include "buffers.h" #include "bufferobj.h" @@ -675,9 +673,7 @@ init_attrib_groups(GLcontext *ctx) /* Attribute Groups */ _mesa_init_accum( ctx ); -#if FEATURE_attrib_stack _mesa_init_attrib( ctx ); -#endif _mesa_init_buffer_objects( ctx ); _mesa_init_color( ctx ); _mesa_init_colortables( ctx ); @@ -997,9 +993,7 @@ _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 ); |