aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEmil Velikov <[email protected]>2014-02-12 19:50:53 +0000
committerEmil Velikov <[email protected]>2014-02-23 16:42:17 +0000
commitef342aad80503659beac9ae4645d11d9bb17d847 (patch)
tree2235c200fb36e46c4e1db70beb7d4a9ef34f5369 /src
parentfbbf5ec47169c3f8b9a43087e54ccd07f513431d (diff)
glx/dri_common: use the implemented version of __DRIsystemTimeExtension
... over the one provided by the headers. Explicitly set extension members to improve clarity. Signed-off-by: Emil Velikov <[email protected]> Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/glx/dri_common.c7
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) \