projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e92903e
)
added comment, remove dead code
author
Brian
<brian.paul@tungstengraphics.com>
Thu, 28 Jun 2007 13:12:55 +0000
(07:12 -0600)
committer
Brian
<brian.paul@tungstengraphics.com>
Thu, 28 Jun 2007 13:16:12 +0000
(07:16 -0600)
src/mesa/swrast_setup/ss_context.c
patch
|
blob
|
history
diff --git
a/src/mesa/swrast_setup/ss_context.c
b/src/mesa/swrast_setup/ss_context.c
index 50b93b36c2b6542c3e1e9b9b24655fcc217e74c4..f8a1cadfa5a01e5af9fb961c7dfccd6267272a69 100644
(file)
--- a/
src/mesa/swrast_setup/ss_context.c
+++ b/
src/mesa/swrast_setup/ss_context.c
@@
-288,13
+288,11
@@
_swsetup_Translate( GLcontext *ctx, const void *vertex, SWvertex *dest )
dest->attrib[FRAG_ATTRIB_VAR0 + i] );
_tnl_get_attr( ctx, vertex, _TNL_ATTRIB_COLOR0, tmp );
+ /* XXX need float color FRAG_ATTRIB_COL0?? */
UNCLAMPED_FLOAT_TO_RGBA_CHAN( dest->color, tmp );
_tnl_get_attr( ctx, vertex, _TNL_ATTRIB_COLOR1, tmp );
COPY_4V(dest->attrib[FRAG_ATTRIB_COL1], tmp);
- /*
- UNCLAMPED_FLOAT_TO_RGBA_CHAN( dest->specular, tmp );
- */
_tnl_get_attr( ctx, vertex, _TNL_ATTRIB_FOG, tmp );
dest->attrib[FRAG_ATTRIB_FOGC][0] = tmp[0];