From 50fad5cd2be4cd105c99687e224da60233f81645 Mon Sep 17 00:00:00 2001 From: marha Date: Wed, 5 Sep 2012 15:53:43 +0200 Subject: xserver mesa git update 4 sep 2012 --- mesalib/src/mesa/main/macros.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mesalib/src/mesa/main') 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? -- cgit v1.2.3