diff options
author | Brian <[email protected]> | 2007-06-28 07:12:55 -0600 |
---|---|---|
committer | Brian <[email protected]> | 2007-06-28 07:16:12 -0600 |
commit | 369d6654d4cdac7bf964918b2412c71d977bcbf5 (patch) | |
tree | 82f3a044128bdacbb19ffc77cc3c7b2e6385052a /src/mesa | |
parent | e92903e24c245df80245776ed9423bd933a97740 (diff) |
added comment, remove dead code
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/swrast_setup/ss_context.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/mesa/swrast_setup/ss_context.c b/src/mesa/swrast_setup/ss_context.c index 50b93b36c2b..f8a1cadfa5a 100644 --- 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]; |