summaryrefslogtreecommitdiff
path: root/src/mesa/main/context.c
diff options
context:
space:
mode:
authorChia-I Wu <olvaffe@gmail.com>2009-09-09 11:12:49 +0800
committerChia-I Wu <olvaffe@gmail.com>2009-09-12 20:55:59 +0800
commit5c8873a3111031e77934eeedbf81b868617183e1 (patch)
treee2ca0832591d0bccb63a464eb4bdf204adeb3b83 /src/mesa/main/context.c
parentb7c133b5c23ee02fecebc70717d02dc27b157786 (diff)
mesa/main: Provide dummy texformats when FEATURE_texture_fxt1 is disabled.
Instead of removing the related enums and texture formats, provide dummy ones when the feature is disabled.
Diffstat (limited to 'src/mesa/main/context.c')
-rw-r--r--src/mesa/main/context.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/mesa/main/context.c b/src/mesa/main/context.c
index 2869a722ec..20307926a3 100644
--- a/src/mesa/main/context.c
+++ b/src/mesa/main/context.c
@@ -702,9 +702,7 @@ init_attrib_groups(GLcontext *ctx)
#if FEATURE_texture_s3tc
_mesa_init_texture_s3tc( ctx );
#endif
-#if FEATURE_texture_fxt1
_mesa_init_texture_fxt1( ctx );
-#endif
/* Miscellaneous */
ctx->NewState = _NEW_ALL;