summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/context.c
diff options
context:
space:
mode:
authorChia-I Wu <[email protected]>2010-03-30 13:13:20 +0800
committerChia-I Wu <[email protected]>2010-03-30 15:39:17 +0800
commit066477ab226c6bf9598511ebe9134cb360fb54a2 (patch)
tree8e6fda75fb3aa7253fbdeff719167544637c5849 /src/mesa/main/context.c
parent9f0e1be2de1d9256f340b541630ad258ca8885f7 (diff)
mesa: Add missing features.
Add features tested in the code but missing from mfeatures.h. This also fixes some tests of features. They should be tested with "#if", not "#ifdef".
Diffstat (limited to 'src/mesa/main/context.c')
-rw-r--r--src/mesa/main/context.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/context.c b/src/mesa/main/context.c
index 73126b95755..521b18e43ed 100644
--- a/src/mesa/main/context.c
+++ b/src/mesa/main/context.c
@@ -873,7 +873,7 @@ _mesa_initialize_context(GLcontext *ctx,
ctx->FragmentProgram._MaintainTexEnvProgram = GL_TRUE;
}
-#ifdef FEATURE_extra_context_init
+#if FEATURE_extra_context_init
_mesa_initialize_context_extra(ctx);
#endif