summaryrefslogtreecommitdiff
path: root/src/mesa/main/imports.h
diff options
context:
space:
mode:
authorIan Romanick <ian.d.romanick@intel.com>2009-08-28 15:37:25 -0700
committerIan Romanick <ian.d.romanick@intel.com>2009-09-03 11:22:45 -0700
commit10067e464132e6d484c34dd277da5eb5e21cf491 (patch)
tree609023f3e2ec2c049626333631f624e15e811f55 /src/mesa/main/imports.h
parentd75a99edd6386ab26d69a3f0cbbed4c79fe5fad4 (diff)
ARB sync: Add infrastructure for glGetInteger64v
Diffstat (limited to 'src/mesa/main/imports.h')
-rw-r--r--src/mesa/main/imports.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/main/imports.h b/src/mesa/main/imports.h
index fb85f0862c..7d4012a856 100644
--- a/src/mesa/main/imports.h
+++ b/src/mesa/main/imports.h
@@ -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