From: Brian Paul Date: Wed, 21 Aug 2002 02:56:58 +0000 (+0000) Subject: fixed array index typo in VERT_SAVE_RGBA() macro X-Git-Tag: 062012170305~26376 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=34713c1a3c140b58b6d582f0ccf49505bce0896f;p=profile%2Fivi%2Fmesa.git fixed array index typo in VERT_SAVE_RGBA() macro --- diff --git a/src/mesa/drivers/glide/fxtris.c b/src/mesa/drivers/glide/fxtris.c index 498a585..dbe9d3d 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)