diff options
-rw-r--r-- | src/glx/dri_common.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/glx/dri_common.c b/src/glx/dri_common.c index 012c8f4ec32..8bf47054a32 100644 --- a/src/glx/dri_common.c +++ b/src/glx/dri_common.c @@ -192,9 +192,10 @@ __driGetMSCRate(__DRIdrawable *draw, } _X_HIDDEN const __DRIsystemTimeExtension systemTimeExtension = { - {__DRI_SYSTEM_TIME, __DRI_SYSTEM_TIME_VERSION}, - __glXGetUST, - __driGetMSCRate + .base = {__DRI_SYSTEM_TIME, 1 }, + + .getUST = __glXGetUST, + .getMSCRate = __driGetMSCRate }; #define __ATTRIB(attrib, field) \ |