Fix: RADEON_DEBUG is a bitfield, so use & to check for flags, not ==

This commit is contained in:
Nicolai Haehnle
2005-02-18 11:27:24 +00:00
parent 6f37e76272
commit d73b929ef2
+1 -1
View File
@@ -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__);