summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/tdfx/tdfx_tris.c
diff options
context:
space:
mode:
authorEric Anholt <anholt@FreeBSD.org>2005-06-01 08:22:57 +0000
committerEric Anholt <anholt@FreeBSD.org>2005-06-01 08:22:57 +0000
commitf090fdc50b290566a5b6aaf57ddd31b340f58de5 (patch)
treea851b91c8e4eb39da9389366b7d628c605ada9ce /src/mesa/drivers/dri/tdfx/tdfx_tris.c
parentd638f6a0bbc7df246700ed78c11837af6e6c6246 (diff)
Move fallback and other debugging under TDFX_DEBUG using the same mechanism
as other drivers.
Diffstat (limited to 'src/mesa/drivers/dri/tdfx/tdfx_tris.c')
-rw-r--r--src/mesa/drivers/dri/tdfx/tdfx_tris.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/drivers/dri/tdfx/tdfx_tris.c b/src/mesa/drivers/dri/tdfx/tdfx_tris.c
index 7909350a13..ac8daf4749 100644
--- a/src/mesa/drivers/dri/tdfx/tdfx_tris.c
+++ b/src/mesa/drivers/dri/tdfx/tdfx_tris.c
@@ -1213,7 +1213,7 @@ static char *fallbackStrings[] = {
"Texture border",
"glColorMask",
"blend mode",
- "line stipple"
+ "line stipple",
"Rasterization disable"
};
@@ -1242,7 +1242,7 @@ void tdfxFallback( GLcontext *ctx, GLuint bit, GLboolean mode )
FLUSH_BATCH(fxMesa);
_swsetup_Wakeup( ctx );
fxMesa->RenderIndex = ~0;
- if (fxMesa->debugFallbacks) {
+ if (TDFX_DEBUG & DEBUG_VERBOSE_FALL) {
fprintf(stderr, "Tdfx begin software fallback: 0x%x %s\n",
bit, getFallbackString(bit));
}
@@ -1259,7 +1259,7 @@ void tdfxFallback( GLcontext *ctx, GLuint bit, GLboolean mode )
tnl->Driver.Render.BuildVertices = tdfxBuildVertices;
fxMesa->new_gl_state |= (_TDFX_NEW_RENDERSTATE|
_TDFX_NEW_RASTERSETUP);
- if (fxMesa->debugFallbacks) {
+ if (TDFX_DEBUG & DEBUG_VERBOSE_FALL) {
fprintf(stderr, "Tdfx end software fallback: 0x%x %s\n",
bit, getFallbackString(bit));
}