Module: Mesa Branch: master Commit: ef342aad80503659beac9ae4645d11d9bb17d847 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=ef342aad80503659beac9ae4645d11d9bb17d847
Author: Emil Velikov <emil.l.veli...@gmail.com> Date: Wed Feb 12 19:50:53 2014 +0000 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 <emil.l.veli...@gmail.com> Reviewed-by: Ian Romanick <ian.d.roman...@intel.com> --- src/glx/dri_common.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/glx/dri_common.c b/src/glx/dri_common.c index 012c8f4..8bf4705 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) \ _______________________________________________ mesa-commit mailing list mesa-commit@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-commit