summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers
diff options
context:
space:
mode:
authorNicolai Haehnle <[email protected]>2005-02-18 11:27:24 +0000
committerNicolai Haehnle <[email protected]>2005-02-18 11:27:24 +0000
commitd73b929ef25cccb12258545ddc9e06ef5ee061f0 (patch)
tree3e881bc768a36074e3a5d9b21dafd8a91c0ea96a /src/mesa/drivers
parent6f37e76272a3a4b3898426b943304d1c5903d0ee (diff)
Fix: RADEON_DEBUG is a bitfield, so use & to check for flags, not ==
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r--src/mesa/drivers/dri/r300/r300_render.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/r300/r300_render.c b/src/mesa/drivers/dri/r300/r300_render.c
index a02c4176c38..e184a16d565 100644
--- a/src/mesa/drivers/dri/r300/r300_render.c
+++ b/src/mesa/drivers/dri/r300/r300_render.c
@@ -611,7 +611,7 @@ static GLboolean r300_run_vb_render(GLcontext *ctx,
int i, j;
LOCAL_VARS
- if (RADEON_DEBUG == DEBUG_PRIMS)
+ if (RADEON_DEBUG & DEBUG_PRIMS)
fprintf(stderr, "%s\n", __FUNCTION__);