r300g: Fix bad formatting parameters in calls to debug_printf
authorNicolai Hähnle <nhaehnle@gmail.com>
Mon, 21 Sep 2009 15:35:10 +0000 (17:35 +0200)
committerNicolai Hähnle <nhaehnle@gmail.com>
Mon, 21 Sep 2009 15:41:54 +0000 (17:41 +0200)
Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
src/gallium/drivers/r300/r300_texture.c

index 6e8c3683200d4f888d53d4e217ebd192a6901b4c..7c041d17f71eee9825c423aed2a839559605246b 100644 (file)
@@ -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;
     }