summaryrefslogtreecommitdiff
path: root/src/mesa
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2003-06-10 14:47:46 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2003-06-10 14:47:46 +0000
commit829703316dc3c84cf6f0dd5a49dfcd3e4fedaea5 (patch)
tree14c010f7d9472ec1a3a1a9cc67efb72b5c7ad07b /src/mesa
parentb953bebc250b36c9a01dbeafe420f808aa3522d6 (diff)
fixed secondary color typo
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/tnl/t_imm_api.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/tnl/t_imm_api.c b/src/mesa/tnl/t_imm_api.c
index 9274d6f9be..868de64c16 100644
--- a/src/mesa/tnl/t_imm_api.c
+++ b/src/mesa/tnl/t_imm_api.c
@@ -495,7 +495,7 @@ _tnl_Color4ubv( const GLubyte *v)
GLuint count = IM->Count; \
GLfloat *color; \
CHECK_ATTRIB_ARRAY(IM, VERT_ATTRIB_COLOR1); \
- color = IM->Attrib[VERT_ATTRIB_COLOR0][count]; \
+ color = IM->Attrib[VERT_ATTRIB_COLOR1][count]; \
color[0] = r; \
color[1] = g; \
color[2] = b; \