summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mesa/drivers/dri/i965/brw_draw.c2
-rw-r--r--src/mesa/drivers/dri/i965/bufmgr_fake.c6
2 files changed, 4 insertions, 4 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_draw.c b/src/mesa/drivers/dri/i965/brw_draw.c
index ef4f110484..f12fb4c7f3 100644
--- a/src/mesa/drivers/dri/i965/brw_draw.c
+++ b/src/mesa/drivers/dri/i965/brw_draw.c
@@ -364,7 +364,7 @@ static GLboolean brw_try_draw_prims( GLcontext *ctx,
UNLOCK_HARDWARE(intel);
if (!retval)
- _mesa_printf("%s failed\n", __FUNCTION__);
+ DBG("%s failed\n", __FUNCTION__);
return retval;
}
diff --git a/src/mesa/drivers/dri/i965/bufmgr_fake.c b/src/mesa/drivers/dri/i965/bufmgr_fake.c
index 40e9239883..8f182f3d87 100644
--- a/src/mesa/drivers/dri/i965/bufmgr_fake.c
+++ b/src/mesa/drivers/dri/i965/bufmgr_fake.c
@@ -1067,7 +1067,7 @@ void *bmMapBuffer( struct intel_context *intel,
assert(intel->locked);
if (!buf->block && !evict_and_alloc_block(intel, buf)) {
- _mesa_printf("%s: alloc failed\n", __FUNCTION__);
+ DBG("%s: alloc failed\n", __FUNCTION__);
bm->fail = 1;
retval = NULL;
}
@@ -1083,7 +1083,7 @@ void *bmMapBuffer( struct intel_context *intel,
}
}
else {
- DBG("%s - set buf %d dirty\n", __FUNCTION__, buf->id);
+ DBG("%s - set buf %d dirty\n", __FUNCTION__, buf->id);
set_dirty(intel, buf);
if (buf->backing_store == 0)
@@ -1227,7 +1227,7 @@ int bmValidateBuffers( struct intel_context *intel )
if (retval != 0)
- _mesa_printf("%s failed\n", __FUNCTION__);
+ DBG("%s failed\n", __FUNCTION__);
return retval;
}