summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2002-08-21 02:56:58 +0000
committerBrian Paul <[email protected]>2002-08-21 02:56:58 +0000
commit34713c1a3c140b58b6d582f0ccf49505bce0896f (patch)
tree9df93c3143c9f857804075759cac3eccdf54b046 /src
parent5117a8214df17f6219276fdfba06dccc7d9f4bae (diff)
fixed array index typo in VERT_SAVE_RGBA() macro
Diffstat (limited to 'src')
-rw-r--r--src/mesa/drivers/glide/fxtris.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/drivers/glide/fxtris.c b/src/mesa/drivers/glide/fxtris.c
index 498a585ff11..dbe9d3d5c8b 100644
--- a/src/mesa/drivers/glide/fxtris.c
+++ b/src/mesa/drivers/glide/fxtris.c
@@ -1,4 +1,4 @@
-/* $Id: fxtris.c,v 1.18 2001/11/06 16:01:19 brianp Exp $ */
+/* $Id: fxtris.c,v 1.19 2002/08/21 02:56:58 brianp Exp $ */
/*
* Mesa 3-D graphics library
@@ -331,7 +331,7 @@ do { \
do { \
color[idx][0] = v[idx]->r; \
color[idx][1] = v[idx]->g; \
- color[idx][1] = v[idx]->b; \
+ color[idx][2] = v[idx]->b; \
color[idx][3] = v[idx]->a; \
} while (0)