From 829703316dc3c84cf6f0dd5a49dfcd3e4fedaea5 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Tue, 10 Jun 2003 14:47:46 +0000 Subject: [PATCH] fixed secondary color typo --- src/mesa/tnl/t_imm_api.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mesa/tnl/t_imm_api.c b/src/mesa/tnl/t_imm_api.c index 9274d6f9be3..868de64c169 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; \ -- 2.30.2