summaryrefslogtreecommitdiff
path: root/progs/xdemos
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2004-08-13 21:04:04 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2004-08-13 21:04:04 +0000
commit2fe6e913ca9ec82d2b7e5b9421a8048cf4118da7 (patch)
tree6ade61d552532d443d501bdcdc52cc1feef76956 /progs/xdemos
parent02ca8fe85ddab42fae710a1ea569e44338b708c2 (diff)
minor fix for newest glxext.h header
Diffstat (limited to 'progs/xdemos')
-rw-r--r--progs/xdemos/glxswapcontrol.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/progs/xdemos/glxswapcontrol.c b/progs/xdemos/glxswapcontrol.c
index 6a9a852e68..98b3d1b58f 100644
--- a/progs/xdemos/glxswapcontrol.c
+++ b/progs/xdemos/glxswapcontrol.c
@@ -576,7 +576,7 @@ event_loop(Display *dpy, Window win)
static void
show_refresh_rate( Display * dpy )
{
-#ifdef GLX_OML_sync_control
+#if defined(GLX_OML_sync_control) && (__STDC_VERSION__ >= 199901L)
PFNGLXGETMSCRATEOMLPROC get_msc_rate;
int32_t n;
int32_t d;