projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b953beb
)
fixed secondary color typo
author
Brian Paul
<brian.paul@tungstengraphics.com>
Tue, 10 Jun 2003 14:47:46 +0000
(14:47 +0000)
committer
Brian Paul
<brian.paul@tungstengraphics.com>
Tue, 10 Jun 2003 14:47:46 +0000
(14:47 +0000)
src/mesa/tnl/t_imm_api.c
patch
|
blob
|
history
diff --git
a/src/mesa/tnl/t_imm_api.c
b/src/mesa/tnl/t_imm_api.c
index 9274d6f9be35b0abc725de2dbe189db0f33e7de8..868de64c16940b02e04e4eb7c76c19242fec4e82 100644
(file)
--- 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_COLOR
0
][count]; \
+ color = IM->Attrib[VERT_ATTRIB_COLOR
1
][count]; \
color[0] = r; \
color[1] = g; \
color[2] = b; \