summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/common
diff options
context:
space:
mode:
authorIan Romanick <idr@us.ibm.com>2004-05-27 22:49:12 +0000
committerIan Romanick <idr@us.ibm.com>2004-05-27 22:49:12 +0000
commit8cdccc82d7948daee256e092a5253d49e277ef75 (patch)
treeb3f58c46716236cac9e2829544781be69b19df6c /src/mesa/drivers/dri/common
parentb3981ab6e6762b4205ca5302d93be129f648a9cf (diff)
Define PFNGLXGETMSCRATEOMLPROC so that DRI will build without including
glxext.h.
Diffstat (limited to 'src/mesa/drivers/dri/common')
-rw-r--r--src/mesa/drivers/dri/common/dri_util.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/common/dri_util.c b/src/mesa/drivers/dri/common/dri_util.c
index 03d92c02f2..925c7efe6e 100644
--- a/src/mesa/drivers/dri/common/dri_util.c
+++ b/src/mesa/drivers/dri/common/dri_util.c
@@ -43,6 +43,10 @@
/*#define DRI_NEW_INTERFACE_ONLY*/
+#ifndef GLX_OML_sync_control
+typedef Bool ( * PFNGLXGETMSCRATEOMLPROC) (Display *dpy, GLXDrawable drawable, int32_t *numerator, int32_t *denominator);
+#endif
+
/**
* This is used in a couple of places that call \c driCreateNewDrawable.
*/