summaryrefslogtreecommitdiffstats
path: root/src/glx/dri_common.c
diff options
context:
space:
mode:
authorKristian Høgsberg <[email protected]>2010-07-21 14:09:49 -0400
committerKristian Høgsberg <[email protected]>2010-07-21 22:17:24 -0400
commit7a66e549583a3168f05acc7df1e872d218fd670d (patch)
tree9a542ad870dff15344b77f98dbe645ab1afc97f2 /src/glx/dri_common.c
parentf679640868ae6ef700d8672702c31ba2515220a7 (diff)
glx: Move last few dri_interface.h types out of glxclient.h and drop include
Diffstat (limited to 'src/glx/dri_common.c')
-rw-r--r--src/glx/dri_common.c12
1 files changed, 11 insertions, 1 deletions
diff --git a/src/glx/dri_common.c b/src/glx/dri_common.c
index eb9f1e4b397..9b7da3e7df5 100644
--- a/src/glx/dri_common.c
+++ b/src/glx/dri_common.c
@@ -159,10 +159,20 @@ driOpenDriver(const char *driverName)
return handle;
}
+static GLboolean
+__driGetMSCRate(__DRIdrawable *draw,
+ int32_t * numerator, int32_t * denominator,
+ void *loaderPrivate)
+{
+ __GLXDRIdrawable *glxDraw = loaderPrivate;
+
+ return __glxGetMscRate(glxDraw, numerator, denominator);
+}
+
_X_HIDDEN const __DRIsystemTimeExtension systemTimeExtension = {
{__DRI_SYSTEM_TIME, __DRI_SYSTEM_TIME_VERSION},
__glXGetUST,
- __driGetMscRateOML
+ __driGetMSCRate
};
#define __ATTRIB(attrib, field) \