[Mesa-dev] [PATCH 18/38] glx/dri: use the implemented version of __DRIdamageExtension
Ian Romanick
idr at freedesktop.org
Tue Feb 18 18:05:38 PST 2014
Patches 7 through 19 are
Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
with the same caveats on patches 9 and 11 as for patch 5.
On 02/12/2014 05:17 PM, Emil Velikov wrote:
> ... over the one provided by the headers.
> Explicitly set extension members to improve clarity.
>
> Signed-off-by: Emil Velikov <emil.l.velikov at gmail.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
>
More information about the mesa-dev
mailing list