From d73b929ef25cccb12258545ddc9e06ef5ee061f0 Mon Sep 17 00:00:00 2001 From: Nicolai Haehnle Date: Fri, 18 Feb 2005 11:27:24 +0000 Subject: [PATCH] Fix: RADEON_DEBUG is a bitfield, so use & to check for flags, not == --- src/mesa/drivers/dri/r300/r300_render.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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__); -- 2.30.2