From: Emil Velikov Date: Mon, 24 Jul 2017 09:10:49 +0000 (+0100) Subject: swrast: add dri2ConfigQueryExtension to the correct extension list X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=da9e6fdfe27065b8ede8b2fe30c8cccc3b573245;p=mesa.git swrast: add dri2ConfigQueryExtension to the correct extension list The extension should be in the list as returned by getExtensions(). Seems to have gone unnoticed since close to nobody wants to change the vblank mode for the software driver. Signed-off-by: Emil Velikov Reviewed-by: Alex Deucher --- diff --git a/src/mesa/drivers/dri/swrast/swrast.c b/src/mesa/drivers/dri/swrast/swrast.c index 43aef9a48d0..7de90d31f13 100644 --- a/src/mesa/drivers/dri/swrast/swrast.c +++ b/src/mesa/drivers/dri/swrast/swrast.c @@ -208,6 +208,7 @@ static const __DRI2rendererQueryExtension swrast_query_renderer_extension = { static const __DRIextension *dri_screen_extensions[] = { &swrastTexBufferExtension.base, &swrast_query_renderer_extension.base, + &dri2ConfigQueryExtension.base, &dri2NoErrorExtension.base, NULL };