mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-22 20:00:10 +01:00
965: respect surface width when dumping bitmap
This commit is contained in:
parent
38de4c5715
commit
1f37b4d87e
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue