i965g: Fix debug check
authorJakob Bornecrantz <jakob@vmware.com>
Thu, 5 Nov 2009 00:38:51 +0000 (00:38 +0000)
committerJakob Bornecrantz <jakob@vmware.com>
Thu, 5 Nov 2009 01:22:10 +0000 (01:22 +0000)
src/gallium/drivers/i965/brw_draw_upload.c

index acebd4408011a7e5cf22ca082976accda1594910..4fa7d549ebd6d66a903a5e1f42054f0cf3ab4c22 100644 (file)
@@ -426,7 +426,7 @@ static int brw_prepare_indices(struct brw_context *brw)
    if (index_buffer == NULL)
       return 0;
 
-   if (DEBUG & DEBUG_VERTS)
+   if (BRW_DEBUG & DEBUG_VERTS)
       debug_printf("%s: index_size:%d index_buffer->size:%d\n",
                   __FUNCTION__,
                   brw->curr.index_size,