summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Whitwell <keith@tungstengraphics.com>2000-04-17 17:35:47 +0000
committerKeith Whitwell <keith@tungstengraphics.com>2000-04-17 17:35:47 +0000
commit59aa79ea5edae1e306a52f1c8a77a15e52f22936 (patch)
treec7d000cdfb7abd6af1ee670197aa5603ca28e98d
parent5478ccec4521cd52962c86cf3ba2d05994686473 (diff)
fix andreas' clipping problem
-rw-r--r--src/mesa/main/clip.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mesa/main/clip.c b/src/mesa/main/clip.c
index 41c65956c735..badd94371d10 100644
--- a/src/mesa/main/clip.c
+++ b/src/mesa/main/clip.c
@@ -1,4 +1,4 @@
-/* $Id: clip.c,v 1.4.2.2 2000/04/13 14:53:35 brianp Exp $ */
+/* $Id: clip.c,v 1.4.2.3 2000/04/17 17:35:47 keithw Exp $ */
/*
* Mesa 3-D graphics library
@@ -301,10 +301,12 @@ GLuint gl_userclip_point( GLcontext* ctx, const GLfloat v[] )
-#if defined(__i386__)
+#if 0
#define NEGATIVE(x) ((*(int *)&x)<0)
+#define DIFFERENT_SIGNS(a,b) ((a*b) < 0)
#else
#define NEGATIVE(x) (x < 0)
+#define DIFFERENT_SIGNS(a,b) ((a*b) < 0)
#endif