summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorCorbin Simpson <[email protected]>2009-03-30 16:15:04 -0700
committerCorbin Simpson <[email protected]>2009-03-30 16:15:04 -0700
commit4bfe784dcadf5bcb65dbd8b9c3d4db757d1824b8 (patch)
treecfedb2ce054d75e3249b3e6b5c4c32e5c44afe2e /src
parenta56020fe17b3d26ea0ea933dd4e8286e5029996f (diff)
r300-gallium: Emit the "right" sequence of colors.
ARGB, not RGBA.
Diffstat (limited to 'src')
-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 b2e0cef0b94..6ecc708e000 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(1.0);
/* XXX figure out why this is 0xA and not 0x2 */
OUT_CS_REG(R300_RB3D_DSTCACHE_CTLSTAT, 0xA);