summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCorbin Simpson <[email protected]>2009-03-30 17:31:58 -0700
committerCorbin Simpson <[email protected]>2009-03-30 17:31:58 -0700
commit3eeeaf04e31b8aed831f29d8a192f3f9a0a8ef03 (patch)
tree2b68bf5802dca1b8436d95715a83ed5b76436a4f
parentaafbbf77441dedf6015a4ab61cc7a82ef592415f (diff)
r300-gallium: RGBA, not ARGB, after all.
Clearly, something else is wrong.
-rw-r--r--src/gallium/drivers/r300/r300_surface.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/r300/r300_surface.c b/src/gallium/drivers/r300/r300_surface.c
index 7e6036868a9..9c4f3065a7f 100644
--- a/src/gallium/drivers/r300/r300_surface.c
+++ b/src/gallium/drivers/r300/r300_surface.c
@@ -165,10 +165,10 @@ static void r300_surface_fill(struct pipe_context* pipe,
OUT_CS_32F(1.0);
OUT_CS_32F(1.0);
/* Color */
- OUT_CS_32F(a);
OUT_CS_32F(r);
OUT_CS_32F(g);
OUT_CS_32F(b);
+ OUT_CS_32F(a);
/* XXX figure out why this is 0xA and not 0x2 */
OUT_CS_REG(R300_RB3D_DSTCACHE_CTLSTAT, 0xA);