diff options
author | Keith Whitwell <[email protected]> | 2001-07-17 19:39:32 +0000 |
---|---|---|
committer | Keith Whitwell <[email protected]> | 2001-07-17 19:39:32 +0000 |
commit | 53560311294814ae0daa8457307a2b25077bf4e9 (patch) | |
tree | cffad805f3e213014d055f53609d71dd81aa37fc /src/mesa/swrast_setup/ss_triangle.c | |
parent | 4ae22b9721e4f123354aad9921da1613fd078367 (diff) |
Lighting now emits colors as CHAN_TYPE, as it used to. This will require
minor adjustments in the dri drivers for twosided lighting to work again.
Diffstat (limited to 'src/mesa/swrast_setup/ss_triangle.c')
-rw-r--r-- | src/mesa/swrast_setup/ss_triangle.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/swrast_setup/ss_triangle.c b/src/mesa/swrast_setup/ss_triangle.c index 7b2d638213d..7612a64d06f 100644 --- a/src/mesa/swrast_setup/ss_triangle.c +++ b/src/mesa/swrast_setup/ss_triangle.c @@ -1,4 +1,4 @@ -/* $Id: ss_triangle.c,v 1.14 2001/07/12 22:09:21 keithw Exp $ */ +/* $Id: ss_triangle.c,v 1.15 2001/07/17 19:39:32 keithw Exp $ */ /* * Mesa 3-D graphics library @@ -141,8 +141,8 @@ static void _swsetup_render_point_tri( GLcontext *ctx, } } -#define SS_COLOR(a,b) UNCLAMPED_FLOAT_TO_RGBA_CHAN(a,b) -#define SS_SPEC(a,b) UNCLAMPED_FLOAT_TO_RGB_CHAN(a,b) +#define SS_COLOR(a,b) COPY_CHAN4(a,b) +#define SS_SPEC(a,b) COPY_3V(a,b) #define SS_IND(a,b) (a = b) #define IND (0) |