r300: fix texwrap border color
authorDave Airlie <airlied@linux.ie>
Sat, 3 Nov 2007 07:58:46 +0000 (18:58 +1100)
committerDave Airlie <airlied@linux.ie>
Sat, 3 Nov 2007 07:59:23 +0000 (18:59 +1100)
src/mesa/drivers/dri/r300/r300_tex.c

index adf69a3c25770e71f9c1478c902e709b47af61c9..0b4acec044825935a35cf17b7b81022a6dc42c86 100644 (file)
@@ -249,7 +249,7 @@ static void r300SetTexFilter(r300TexObjPtr t, GLenum minf, GLenum magf)
 
 static void r300SetTexBorderColor(r300TexObjPtr t, GLubyte c[4])
 {
-       t->pp_border_color = PACK_COLOR_8888(c[0], c[1], c[2], c[3]);
+       t->pp_border_color = PACK_COLOR_8888(c[3], c[0], c[1], c[2]);
 }
 
 /**