[Mesa-dev] [PATCH 01/38] dri_util: explicitly set __DRIswrastExtension members.
Ian Romanick
idr at freedesktop.org
Tue Feb 18 18:00:09 PST 2014
Patches 1 and 2 are
Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
On 02/12/2014 05:17 PM, Emil Velikov wrote:
> Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
> ---
> src/mesa/drivers/dri/common/dri_util.c | 13 +++++++------
> 1 file changed, 7 insertions(+), 6 deletions(-)
>
> diff --git a/src/mesa/drivers/dri/common/dri_util.c b/src/mesa/drivers/dri/common/dri_util.c
> index d09d50a..0aa997e 100644
> --- a/src/mesa/drivers/dri/common/dri_util.c
> +++ b/src/mesa/drivers/dri/common/dri_util.c
> @@ -768,12 +768,13 @@ const __DRIdri2Extension driDRI2Extension = {
> };
>
> const __DRIswrastExtension driSWRastExtension = {
> - { __DRI_SWRAST, 4 },
> - driSWRastCreateNewScreen,
> - driCreateNewDrawable,
> - driCreateNewContextForAPI,
> - driCreateContextAttribs,
> - driSWRastCreateNewScreen2,
> + .base = { __DRI_SWRAST, 4 },
> +
> + .createNewScreen = driSWRastCreateNewScreen,
> + .createNewDrawable = driCreateNewDrawable,
> + .createNewContextForAPI = driCreateNewContextForAPI,
> + .createContextAttribs = driCreateContextAttribs,
> + .createNewScreen2 = driSWRastCreateNewScreen2,
> };
>
> const __DRI2configQueryExtension dri2ConfigQueryExtension = {
>
More information about the mesa-dev
mailing list