diff options
author | Chia-I Wu <[email protected]> | 2009-09-08 10:52:01 +0800 |
---|---|---|
committer | Brian Paul <[email protected]> | 2009-09-30 08:31:55 -0600 |
commit | 301a510092859d2e214d64f4ac2ebe03d591c64b (patch) | |
tree | 1cbffb57173dc882b208066b0099ba733a3295dd /src/mesa/main/context.c | |
parent | 67a2a4e901367418a5c28e7b0963bf9c0c4762ba (diff) |
mesa/main: Make FEATURE_feedback follow feature conventions.
As shown in mfeatures.h, this allows users of feedback.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 cd8fe0df8f9..17e98ffa309 100644 --- a/src/mesa/main/context.c +++ b/src/mesa/main/context.c @@ -100,9 +100,7 @@ #include "enums.h" #include "extensions.h" #include "fbobject.h" -#if FEATURE_feedback #include "feedback.h" -#endif #include "fog.h" #include "framebuffer.h" #include "get.h" @@ -683,11 +681,7 @@ init_attrib_groups(GLcontext *ctx) _mesa_init_eval( ctx ); #endif _mesa_init_fbobjects( ctx ); -#if FEATURE_feedback _mesa_init_feedback( ctx ); -#else - ctx->RenderMode = GL_RENDER; -#endif _mesa_init_fog( ctx ); _mesa_init_histogram( ctx ); _mesa_init_hint( ctx ); |