From: Emil Velikov Date: Wed, 12 Feb 2014 17:17:28 +0000 (+0000) Subject: dri_util: explicitly set __DRIcopySubBufferExtension members X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=13e5daf2daf8cd7efe74782fdeca92d3114785fc;p=mesa.git dri_util: explicitly set __DRIcopySubBufferExtension members Signed-off-by: Emil Velikov Reviewed-by: Ian Romanick --- diff --git a/src/mesa/drivers/dri/common/dri_util.c b/src/mesa/drivers/dri/common/dri_util.c index 0aa997e227e..0873927de05 100644 --- a/src/mesa/drivers/dri/common/dri_util.c +++ b/src/mesa/drivers/dri/common/dri_util.c @@ -893,6 +893,7 @@ static void driCopySubBuffer(__DRIdrawable *pdp, int x, int y, /* for swrast only */ const __DRIcopySubBufferExtension driCopySubBufferExtension = { - { __DRI_COPY_SUB_BUFFER, 1 }, - .copySubBuffer = driCopySubBuffer, + .base = { __DRI_COPY_SUB_BUFFER, 1 }, + + .copySubBuffer = driCopySubBuffer, };