summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/util/u_surface.c
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2010-03-01 16:24:48 +0000
committerJosé Fonseca <[email protected]>2010-03-01 16:24:48 +0000
commitdaf7caf4cfb1c3732a31be56157e9c7d0399ef58 (patch)
tree74ee7d8b28351fd1aca5dd467ff6e8740e4c0838 /src/gallium/auxiliary/util/u_surface.c
parentcd8b6523039d68459756db487566a97fac1d4d75 (diff)
util: Use PIPE_FORMAT_R8G8B8A8_UNORM_REV where appropriate.
Diffstat (limited to 'src/gallium/auxiliary/util/u_surface.c')
-rw-r--r--src/gallium/auxiliary/util/u_surface.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/util/u_surface.c b/src/gallium/auxiliary/util/u_surface.c
index c9f1c9c210f..948c1e76d05 100644
--- a/src/gallium/auxiliary/util/u_surface.c
+++ b/src/gallium/auxiliary/util/u_surface.c
@@ -56,7 +56,7 @@ util_create_rgba_surface(struct pipe_screen *screen,
static const enum pipe_format rgbaFormats[] = {
PIPE_FORMAT_A8R8G8B8_UNORM,
PIPE_FORMAT_B8G8R8A8_UNORM,
- PIPE_FORMAT_R8G8B8A8_UNORM,
+ PIPE_FORMAT_R8G8B8A8_UNORM_REV,
PIPE_FORMAT_NONE
};
const uint target = PIPE_TEXTURE_2D;