From: Nicolai Haehnle Date: Fri, 18 Feb 2005 11:27:24 +0000 (+0000) Subject: Fix: RADEON_DEBUG is a bitfield, so use & to check for flags, not == X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d73b929ef25cccb12258545ddc9e06ef5ee061f0;p=mesa.git Fix: RADEON_DEBUG is a bitfield, so use & to check for flags, not == --- 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__);