summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/debug.c
diff options
context:
space:
mode:
authorKeith Whitwell <keith@tungstengraphics.com>2001-03-29 21:16:25 +0000
committerKeith Whitwell <keith@tungstengraphics.com>2001-03-29 21:16:25 +0000
commited39a43b8cb2e1cf69b097fc89365cde470ebf51 (patch)
treee886defa720e33ec795c7ffb7941fcab5c5b8e1d /src/mesa/main/debug.c
parent2780ed4b978b32a08be6eecb0e923250e7b907ee (diff)
downloadexternal_mesa3d-ed39a43b8cb2e1cf69b097fc89365cde470ebf51.zip
external_mesa3d-ed39a43b8cb2e1cf69b097fc89365cde470ebf51.tar.gz
external_mesa3d-ed39a43b8cb2e1cf69b097fc89365cde470ebf51.tar.bz2
Remove ENABLE_* flags, ctx->_Enabled.
Replace with ctx->Texture._TexMatEnabled, ctx->Texture._TexGenEnabled.
Diffstat (limited to 'src/mesa/main/debug.c')
-rw-r--r--src/mesa/main/debug.c30
1 files changed, 1 insertions, 29 deletions
diff --git a/src/mesa/main/debug.c b/src/mesa/main/debug.c
index ee52963..7a3a88e 100644
--- a/src/mesa/main/debug.c
+++ b/src/mesa/main/debug.c
@@ -1,4 +1,4 @@
-/* $Id: debug.c,v 1.11 2001/03/29 17:08:26 keithw Exp $ */
+/* $Id: debug.c,v 1.12 2001/03/29 21:16:25 keithw Exp $ */
/*
* Mesa 3-D graphics library
@@ -60,34 +60,6 @@ void _mesa_print_state( const char *msg, GLuint state )
}
-void _mesa_print_enable_flags( const char *msg, GLuint flags )
-{
- fprintf(stderr,
- "%s: (0x%x) %s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s\n",
- msg,
- flags,
- (flags & ENABLE_LIGHT) ? "light, " : "",
- (flags & ENABLE_FOG) ? "fog, " : "",
- (flags & ENABLE_USERCLIP) ? "userclip, " : "",
- (flags & ENABLE_TEXGEN0) ? "tex-gen-0, " : "",
- (flags & ENABLE_TEXGEN1) ? "tex-gen-1, " : "",
- (flags & ENABLE_TEXGEN2) ? "tex-gen-2, " : "",
- (flags & ENABLE_TEXGEN3) ? "tex-gen-3, " : "",
- (flags & ENABLE_TEXGEN4) ? "tex-gen-4, " : "",
- (flags & ENABLE_TEXGEN5) ? "tex-gen-5, " : "",
- (flags & ENABLE_TEXGEN6) ? "tex-gen-6, " : "",
- (flags & ENABLE_TEXGEN7) ? "tex-gen-7, " : "",
- (flags & ENABLE_TEXMAT0) ? "tex-mat-0, " : "",
- (flags & ENABLE_TEXMAT1) ? "tex-mat-1, " : "",
- (flags & ENABLE_TEXMAT2) ? "tex-mat-2, " : "",
- (flags & ENABLE_TEXMAT3) ? "tex-mat-3, " : "",
- (flags & ENABLE_TEXMAT4) ? "tex-mat-4, " : "",
- (flags & ENABLE_TEXMAT5) ? "tex-mat-5, " : "",
- (flags & ENABLE_TEXMAT6) ? "tex-mat-6, " : "",
- (flags & ENABLE_TEXMAT7) ? "tex-mat-7, " : "",
- (flags & ENABLE_NORMALIZE) ? "normalize, " : "",
- (flags & ENABLE_RESCALE) ? "rescale, " : "");
-}
void _mesa_print_tri_caps( const char *name, GLuint flags )
{