diff options
author | marha <marha@users.sourceforge.net> | 2012-09-05 15:53:43 +0200 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2012-09-05 15:53:43 +0200 |
commit | 50fad5cd2be4cd105c99687e224da60233f81645 (patch) | |
tree | 37953f7b833a0ee31628e1301bb04be16238e6e2 /mesalib/src/mesa/main/macros.h | |
parent | 67c4614f29188e4af86e1d88ee82759c896b70b5 (diff) | |
download | vcxsrv-50fad5cd2be4cd105c99687e224da60233f81645.tar.gz vcxsrv-50fad5cd2be4cd105c99687e224da60233f81645.tar.bz2 vcxsrv-50fad5cd2be4cd105c99687e224da60233f81645.zip |
xserver mesa git update 4 sep 2012
Diffstat (limited to 'mesalib/src/mesa/main/macros.h')
-rw-r--r-- | mesalib/src/mesa/main/macros.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mesalib/src/mesa/main/macros.h b/mesalib/src/mesa/main/macros.h index fc6f2a28f..04d59d79c 100644 --- a/mesalib/src/mesa/main/macros.h +++ b/mesalib/src/mesa/main/macros.h @@ -711,7 +711,7 @@ DIFFERENT_SIGNS(GLfloat x, GLfloat y) fi_type xfi, yfi; xfi.f = x; yfi.f = y; - return (xfi.i ^ yfi.i) & (1u << 31); + return !!((xfi.i ^ yfi.i) & (1u << 31)); #else /* Could just use (x*y<0) except for the flatshading requirements. * Maybe there's a better way? |