summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/r300/r300_tex.c
diff options
context:
space:
mode:
authorAapo Tahkola <aet@rasterburn.org>2005-02-10 05:11:31 +0000
committerAapo Tahkola <aet@rasterburn.org>2005-02-10 05:11:31 +0000
commit4afa1d7abbf4bdd368ebfbc5e18dc02f8b8ec21a (patch)
tree44cdd42e277b2c9d53b38d22381d18f4e6508a5e /src/mesa/drivers/dri/r300/r300_tex.c
parent58010eb35ca55e487251a2b62965d42e18e5ef18 (diff)
Turns out unknown5 was border color. texwrap looks good now.
Diffstat (limited to 'src/mesa/drivers/dri/r300/r300_tex.c')
-rw-r--r--src/mesa/drivers/dri/r300/r300_tex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/r300/r300_tex.c b/src/mesa/drivers/dri/r300/r300_tex.c
index 6bbfb01023..0f3089d4c8 100644
--- a/src/mesa/drivers/dri/r300/r300_tex.c
+++ b/src/mesa/drivers/dri/r300/r300_tex.c
@@ -267,7 +267,7 @@ static void r300SetTexFilter(r300TexObjPtr t, GLenum minf, GLenum magf)
static void r300SetTexBorderColor(r300TexObjPtr t, GLubyte c[4])
{
- t->pp_border_color = radeonPackColor(4, c[0], c[1], c[2], c[3]);
+ t->pp_border_color = radeonPackColor(4, c[3], c[2], c[1], c[0]);
}
/**