projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4028fab
)
rbug: Rename pipe formats.
author
José Fonseca
<jfonseca@vmware.com>
Mon, 1 Mar 2010 18:14:38 +0000
(18:14 +0000)
committer
José Fonseca
<jfonseca@vmware.com>
Tue, 2 Mar 2010 10:21:55 +0000
(10:21 +0000)
progs/rbug/bin_to_bmp.c
patch
|
blob
|
history
diff --git
a/progs/rbug/bin_to_bmp.c
b/progs/rbug/bin_to_bmp.c
index 40ae62909095a91db40b4046b7d05b0850126f08..99a7ec5bc55bcc1e867d01ef85e5acdd30badfdc 100644
(file)
--- a/
progs/rbug/bin_to_bmp.c
+++ b/
progs/rbug/bin_to_bmp.c
@@
-48,7
+48,7
@@
int main(int argc, char** argv)
unsigned stride = width * 4;
unsigned size = stride * height;
const char *filename = "mybin.bin";
- enum pipe_format format = PIPE_FORMAT_
A8R8G8B
8_UNORM;
+ enum pipe_format format = PIPE_FORMAT_
B8G8R8A
8_UNORM;
dump(width, height, stride, format, rbug_read(filename, size), size);