summaryrefslogtreecommitdiff
path: root/src/mesa/swrast/s_context.h
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2001-08-14 14:08:44 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2001-08-14 14:08:44 +0000
commit60174c1aef7c6650a800f16f103a4f9ed2d1004e (patch)
tree6d3f3866ab1ac2506e79637685f1a0432759e2bb /src/mesa/swrast/s_context.h
parent76a52525c7edcefcb40a1cbc9ce88d6c6e402f1a (diff)
Fixes for 32-bit GLchans: smooth/flat/textured triangles seem to work now.
Diffstat (limited to 'src/mesa/swrast/s_context.h')
-rw-r--r--src/mesa/swrast/s_context.h6
1 files changed, 3 insertions, 3 deletions
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)