From: Jakob Bornecrantz Date: Thu, 5 Nov 2009 00:38:51 +0000 (+0000) Subject: i965g: Fix debug check X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=643bb3419d7d342436cc54603e51467153d5d030;p=mesa.git i965g: Fix debug check --- diff --git a/src/gallium/drivers/i965/brw_draw_upload.c b/src/gallium/drivers/i965/brw_draw_upload.c index acebd440801..4fa7d549ebd 100644 --- a/src/gallium/drivers/i965/brw_draw_upload.c +++ b/src/gallium/drivers/i965/brw_draw_upload.c @@ -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,