projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
38de4c5
)
965: respect surface width when dumping bitmap
author
Keith Whitwell
<keith@tungstengraphics.com>
Wed, 19 Dec 2007 11:32:56 +0000
(11:32 +0000)
committer
Keith Whitwell
<keith@tungstengraphics.com>
Wed, 19 Dec 2007 11:37:16 +0000
(11:37 +0000)
src/mesa/pipe/xlib/brw_aub.c
patch
|
blob
|
history
diff --git
a/src/mesa/pipe/xlib/brw_aub.c
b/src/mesa/pipe/xlib/brw_aub.c
index 1b7fc3c20e499c41c495bc41dcad5f5e1399b6a6..541d50c6e40c3c6baa874360795020cd5fe8a287 100644
(file)
--- 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->
pitc
h;
+ db.xsize = surface->
widt
h;
db.ysize = surface->height;
db.addr = gtt_offset;
db.unknown = /* surface->tiled ? 0x4 : */ 0x0;