Module: Mesa Branch: master Commit: f6537d06089f991678b2afb7033aaf07bc4c9d50 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=f6537d06089f991678b2afb7033aaf07bc4c9d50
Author: Emil Velikov <emil.l.veli...@gmail.com> Date: Wed Feb 12 19:53:52 2014 +0000 glx/dri: use the implemented version of __DRIdamageExtension ... 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_glx.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/glx/dri_glx.c b/src/glx/dri_glx.c index 8593750..3b7502d 100644 --- a/src/glx/dri_glx.c +++ b/src/glx/dri_glx.c @@ -271,8 +271,9 @@ __glXReportDamage(__DRIdrawable * driDraw, } static const __DRIdamageExtension damageExtension = { - {__DRI_DAMAGE, __DRI_DAMAGE_VERSION}, - __glXReportDamage, + .base = {__DRI_DAMAGE, 1 }, + + .reportDamage = __glXReportDamage, }; #endif _______________________________________________ mesa-commit mailing list mesa-commit@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-commit