Fix: RADEON_DEBUG is a bitfield, so use & to check for flags, not ==
This commit is contained in:
@@ -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__);
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user