summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/mesa/pipe/xlib/brw_aub.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/pipe/xlib/brw_aub.c b/src/mesa/pipe/xlib/brw_aub.c
index 1b7fc3c20e..541d50c6e4 100644
--- a/src/mesa/pipe/xlib/brw_aub.c
+++ b/src/mesa/pipe/xlib/brw_aub.c
@@ -331,7 +331,7 @@ void brw_aub_dump_bmp( struct brw_aubfile *aubfile,
db.format = format;
db.bpp = surface->cpp * 8;
db.pitch = surface->pitch;
- db.xsize = surface->pitch;
+ db.xsize = surface->width;
db.ysize = surface->height;
db.addr = gtt_offset;
db.unknown = /* surface->tiled ? 0x4 : */ 0x0;