rbug: Rename pipe formats.
authorJosé Fonseca <jfonseca@vmware.com>
Mon, 1 Mar 2010 18:14:38 +0000 (18:14 +0000)
committerJosé Fonseca <jfonseca@vmware.com>
Tue, 2 Mar 2010 10:21:55 +0000 (10:21 +0000)
progs/rbug/bin_to_bmp.c

index 40ae62909095a91db40b4046b7d05b0850126f08..99a7ec5bc55bcc1e867d01ef85e5acdd30badfdc 100644 (file)
@@ -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_A8R8G8B8_UNORM;
+   enum pipe_format format = PIPE_FORMAT_B8G8R8A8_UNORM;
 
    dump(width, height, stride, format, rbug_read(filename, size), size);