aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/x11/xmesaP.h
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2005-12-07 14:48:19 +0000
committerBrian Paul <[email protected]>2005-12-07 14:48:19 +0000
commit0fa8c59e646b214ea61c077f723e8ffe1cc06733 (patch)
treec55b85a279eba315344d5954452bfda0705c7c1d /src/mesa/drivers/x11/xmesaP.h
parent98bebc7212a47f97ef6d15d4fca45a0fa608aea2 (diff)
Updates for GL_EXT_timer_query:
New GLint64EXT and GLuint64EXT types (use C99's long long types). New glGetQueryObject[u]i64vEXT() functions.
Diffstat (limited to 'src/mesa/drivers/x11/xmesaP.h')
-rw-r--r--src/mesa/drivers/x11/xmesaP.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mesa/drivers/x11/xmesaP.h b/src/mesa/drivers/x11/xmesaP.h
index efe88a00442..5b9311ff873 100644
--- a/src/mesa/drivers/x11/xmesaP.h
+++ b/src/mesa/drivers/x11/xmesaP.h
@@ -551,8 +551,10 @@ extern void XMesaReset( void );
#ifdef XFree86Server
#define ENABLE_EXT_timer_query 0
+#elif defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
+#define ENABLE_EXT_timer_query 1 /* should have 64-bit GLuint64EXT */
#else
-#define ENABLE_EXT_timer_query 1
+#define ENABLE_EXT_timer_query 0 /* may not have 64-bit GLuint64EXT */
#endif
#endif