diff options
author | Nicolai Haehnle <prefect_@gmx.net> | 2005-02-18 11:27:24 +0000 |
---|---|---|
committer | Nicolai Haehnle <prefect_@gmx.net> | 2005-02-18 11:27:24 +0000 |
commit | d73b929ef25cccb12258545ddc9e06ef5ee061f0 (patch) | |
tree | 3e881bc768a36074e3a5d9b21dafd8a91c0ea96a /src/mesa/drivers | |
parent | 6f37e76272a3a4b3898426b943304d1c5903d0ee (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.c | 2 |
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 a02c4176c3..e184a16d56 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__); |