[965] fix bad conflict resolution in debug code.
authorEric Anholt <eric@anholt.net>
Mon, 17 Dec 2007 22:42:21 +0000 (14:42 -0800)
committerEric Anholt <eric@anholt.net>
Mon, 17 Dec 2007 22:42:31 +0000 (14:42 -0800)
src/mesa/drivers/dri/i965/brw_state_dump.c

index 9bcbbefd1686244726743e9959f403562e3dc149..9eb27cc2672e06b65bcdbeccd43bd7330a7740d1 100644 (file)
@@ -99,7 +99,7 @@ static void dump_wm_surface_state(struct brw_context *brw)
       surf = (struct brw_surface_state *)(surf_bo->virtual);
 
       sprintf(name, "WM SS%d", i);
-      state_out(name, surf, surfoff, 0, "\n",
+      state_out(name, surf, surfoff, 0, "%s\n",
                get_965_surfacetype(surf->ss0.surface_type));
       state_out(name, surf, surfoff, 1, "offset\n");
       state_out(name, surf, surfoff, 2, "%dx%d size, %d mips\n",