Mesa (i965g-restart): i965g: Fix debug check

Jakob Bornecrantz wallbraker at kemper.freedesktop.org
Thu Nov 5 01:26:32 UTC 2009


Module: Mesa
Branch: i965g-restart
Commit: 643bb3419d7d342436cc54603e51467153d5d030
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=643bb3419d7d342436cc54603e51467153d5d030

Author: Jakob Bornecrantz <jakob at vmware.com>
Date:   Thu Nov  5 00:38:51 2009 +0000

i965g: Fix debug check

---

 src/gallium/drivers/i965/brw_draw_upload.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/gallium/drivers/i965/brw_draw_upload.c b/src/gallium/drivers/i965/brw_draw_upload.c
index acebd44..4fa7d54 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,




More information about the mesa-commit mailing list