summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNicolai Hähnle <nhaehnle@gmail.com>2009-09-21 17:35:10 +0200
committerNicolai Hähnle <nhaehnle@gmail.com>2009-09-21 17:41:54 +0200
commit9ca94f91a3b48350b02a8fec5ecf60a819a24de5 (patch)
tree0ac73174c41cda5634bea10dd28af4c02ee4c1ba /src
parent496137d8eb85e78fab748f184b392f99b17059ea (diff)
r300g: Fix bad formatting parameters in calls to debug_printf
Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
Diffstat (limited to 'src')
-rw-r--r--src/gallium/drivers/r300/r300_texture.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/r300/r300_texture.c b/src/gallium/drivers/r300/r300_texture.c
index 6e8c368320..7c041d17f7 100644
--- a/src/gallium/drivers/r300/r300_texture.c
+++ b/src/gallium/drivers/r300/r300_texture.c
@@ -48,7 +48,7 @@ static void r300_setup_texture_state(struct r300_texture* tex,
state->format2 |= R500_TXHEIGHT_BIT11;
}
- debug_printf("r300: Set texture state (%dx%d, pitch %d, %d levels)\n",
+ debug_printf("r300: Set texture state (%dx%d, %d levels)\n",
width, height, levels);
}
@@ -62,7 +62,7 @@ unsigned r300_texture_get_stride(struct r300_texture* tex, unsigned level)
return tex->stride_override;
if (level > tex->tex.last_level) {
- debug_printf("%s: level (%u) > last_level (%u)\n", level, tex->tex.last_level);
+ debug_printf("%s: level (%u) > last_level (%u)\n", __FUNCTION__, level, tex->tex.last_level);
return 0;
}