r300-gallium: Emit the "right" sequence of colors.

ARGB, not RGBA.
This commit is contained in:
Corbin Simpson
2009-03-30 16:15:04 -07:00
parent a56020fe17
commit 4bfe784dca

View File

@@ -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);