diff options
author | Keith Whitwell <keith@tungstengraphics.com> | 2000-04-17 17:35:47 +0000 |
---|---|---|
committer | Keith Whitwell <keith@tungstengraphics.com> | 2000-04-17 17:35:47 +0000 |
commit | 59aa79ea5edae1e306a52f1c8a77a15e52f22936 (patch) | |
tree | c7d000cdfb7abd6af1ee670197aa5603ca28e98d | |
parent | 5478ccec4521cd52962c86cf3ba2d05994686473 (diff) |
fix andreas' clipping problem
-rw-r--r-- | src/mesa/main/clip.c | 6 |
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 |