From 60174c1aef7c6650a800f16f103a4f9ed2d1004e Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Tue, 14 Aug 2001 14:08:44 +0000 Subject: Fixes for 32-bit GLchans: smooth/flat/textured triangles seem to work now. --- src/mesa/swrast/s_context.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/mesa/swrast/s_context.h') diff --git a/src/mesa/swrast/s_context.h b/src/mesa/swrast/s_context.h index 5aad31683b..88f877e883 100644 --- a/src/mesa/swrast/s_context.h +++ b/src/mesa/swrast/s_context.h @@ -1,4 +1,4 @@ -/* $Id: s_context.h,v 1.11 2001/07/13 20:07:37 brianp Exp $ */ +/* $Id: s_context.h,v 1.12 2001/08/14 14:08:44 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -195,8 +195,8 @@ _swrast_validate_derived( GLcontext *ctx ); * These should probably go elsewhere at some point. */ #if CHAN_TYPE == GL_FLOAT -#define ChanToFixed(X) FloatToFixed(X) -#define FixedToChan(X) FixedToFloat(X) +#define ChanToFixed(X) (X) +#define FixedToChan(X) (X) #else #define ChanToFixed(X) IntToFixed(X) #define FixedToChan(X) FixedToInt(X) -- cgit v1.2.3