From 0fa8c59e646b214ea61c077f723e8ffe1cc06733 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Wed, 7 Dec 2005 14:48:19 +0000 Subject: Updates for GL_EXT_timer_query: New GLint64EXT and GLuint64EXT types (use C99's long long types). New glGetQueryObject[u]i64vEXT() functions. --- src/mesa/drivers/x11/xmesaP.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/mesa/drivers/x11/xmesaP.h') 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 -- cgit v1.2.3