mesa/main: Make FEATURE_histogram follow feature conventions.
[mesa.git] / src / mesa / main / imports.h
index fb85f0862c6ed67ddf0ee18b84f896869b60af7d..7d4012a85609b1addab2e0e2793d661f1a8d2802 100644 (file)
@@ -291,6 +291,7 @@ long iround(float f);
 #define IROUND(f)  ((int) (((f) >= 0.0F) ? ((f) + 0.5F) : ((f) - 0.5F)))
 #endif
 
+#define IROUND64(f)  ((GLint64) (((f) >= 0.0F) ? ((f) + 0.5F) : ((f) - 0.5F)))
 
 /***
  *** IROUND_POS: return (as an integer) positive float rounded to nearest int