From: Emil Velikov Date: Wed, 12 Feb 2014 17:08:43 +0000 (+0000) Subject: dri_util: explicitly set __DRIswrastExtension members. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=01814734e694031ec77a2cfdb23ec1e1efa0a1c1;p=mesa.git dri_util: explicitly set __DRIswrastExtension 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 d09d50ad1dd..0aa997e227e 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 = {