From 01915e90e6912f06d43d443a09157f7bbc96ddc5 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Thu, 8 Mar 2001 15:23:46 +0000 Subject: More g++ warning fixes. Fixes for CHAN_BITS==16, it seems to work. --- src/mesa/swrast_setup/ss_triangle.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/mesa/swrast_setup/ss_triangle.c') diff --git a/src/mesa/swrast_setup/ss_triangle.c b/src/mesa/swrast_setup/ss_triangle.c index 2ea04ce0aa..ad44b1453f 100644 --- a/src/mesa/swrast_setup/ss_triangle.c +++ b/src/mesa/swrast_setup/ss_triangle.c @@ -139,8 +139,8 @@ static void _swsetup_render_point_tri( GLcontext *ctx, } } -#define SS_COLOR(a,b) COPY_4UBV(a,b) -#define SS_SPEC(a,b) COPY_4UBV(a,b) +#define SS_COLOR(a,b) COPY_CHAN4(a,b) +#define SS_SPEC(a,b) COPY_CHAN4(a,b) #define SS_IND(a,b) (a = b) #define IND (0) -- cgit v1.2.3