Added few more stubs so that control reaches to DestroyDevice().
[mesa.git] / src / util / u_math.c
index c58af911be7400b043c7a3d38a94eaadfacb5e2a..9a8a9ecbbdeeb824f859cd0e686ce9a1608d93c4 100644 (file)
 #include <xmmintrin.h>
 /* This is defined in pmmintrin.h, but it can only be included when -msse3 is
  * used, so just define it here to avoid further. */
+#ifndef _MM_DENORMALS_ZERO_MASK
 #define _MM_DENORMALS_ZERO_MASK        0x0040
 #endif
+#endif
 
 
 /** 2^x, for x in [-1.0, 1.0) */
@@ -71,11 +73,11 @@ init_log2_table(void)
 void
 util_init_math(void)
 {
-   static boolean initialized = FALSE;
+   static bool initialized = false;
    if (!initialized) {
       init_pow2_table();
       init_log2_table();
-      initialized = TRUE;
+      initialized = true;
    }
 }