projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1aee880
)
swrast: fix wrong assignments in _swrast_add_spec_terms_line()
author
Brian Paul
<brianp@vmware.com>
Sat, 25 Aug 2012 13:08:10 +0000
(07:08 -0600)
committer
Brian Paul
<brianp@vmware.com>
Wed, 29 Aug 2012 14:20:58 +0000
(08:20 -0600)
src/mesa/swrast/s_lines.c
patch
|
blob
|
history
diff --git
a/src/mesa/swrast/s_lines.c
b/src/mesa/swrast/s_lines.c
index 2078be43b44e23fde96dcf330ed9392cafcd8228..cfd3e6fa9f642842173b4eca94d046024e0a2914 100644
(file)
--- a/
src/mesa/swrast/s_lines.c
+++ b/
src/mesa/swrast/s_lines.c
@@
-188,8
+188,8
@@
_swrast_add_spec_terms_line(struct gl_context *ctx,
/* draw */
SWRAST_CONTEXT(ctx)->SpecLine( ctx, ncv0, ncv1 );
/* restore original colors */
- COPY_CHAN4(
ncv0->attrib[FRAG_ATTRIB_COL0], cSave[0]
);
- COPY_CHAN4(
ncv1->attrib[FRAG_ATTRIB_COL0], cSave[1]
);
+ COPY_CHAN4(
ncv0->color, cSave[0]
);
+ COPY_CHAN4(
ncv1->color, cSave[1]
);
}