projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
40ca5b4
)
Fix typo causing secondary color not to work properly.
author
Aapo Tahkola
<aet@rasterburn.org>
Fri, 18 Nov 2005 18:05:19 +0000
(18:05 +0000)
committer
Aapo Tahkola
<aet@rasterburn.org>
Fri, 18 Nov 2005 18:05:19 +0000
(18:05 +0000)
src/mesa/tnl/t_vp_build.c
patch
|
blob
|
history
diff --git
a/src/mesa/tnl/t_vp_build.c
b/src/mesa/tnl/t_vp_build.c
index 0f1f303be28ab87d815cb14f1d08f1cf0fbcff87..598930afb04ccc2aa872e30660688e8452114470 100644
(file)
--- a/
src/mesa/tnl/t_vp_build.c
+++ b/
src/mesa/tnl/t_vp_build.c
@@
-1359,7
+1359,7
@@
static void build_tnl_program( struct tnl_program *p )
emit_passthrough(p, VERT_ATTRIB_COLOR0, VERT_RESULT_COL0);
if (p->state->fragprog_inputs_read & FRAG_BIT_COL1)
- emit_passthrough(p, VERT_ATTRIB_COLOR
0
, VERT_RESULT_COL1);
+ emit_passthrough(p, VERT_ATTRIB_COLOR
1
, VERT_RESULT_COL1);
}
}