From: Emil Velikov Date: Fri, 7 Jul 2017 18:13:59 +0000 (+0100) Subject: swrast: add dri2ConfigQueryExtension to the correct extension list X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7791949dadd5af707055d0076874177e5e8e2133;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. v2: Rebase Cc: mesa-stable@lists.freedesktop.org Signed-off-by: Emil Velikov Reviewed-by: Alex Deucher (v1) --- diff --git a/src/gallium/state_trackers/dri/dri2.c b/src/gallium/state_trackers/dri/dri2.c index 787949ec396..f74f1d19b19 100644 --- a/src/gallium/state_trackers/dri/dri2.c +++ b/src/gallium/state_trackers/dri/dri2.c @@ -2004,7 +2004,7 @@ static const __DRIextension *dri_robust_screen_extensions[] = { &dri2FlushExtension.base, &dri2ImageExtension.base, &dri2RendererQueryExtension.base, - &dri2ConfigQueryExtension.base, + &dri2GalliumConfigQueryExtension.base, &dri2ThrottleExtension.base, &dri2FenceExtension.base, &dri2InteropExtension.base, diff --git a/src/mesa/drivers/dri/swrast/swrast.c b/src/mesa/drivers/dri/swrast/swrast.c index c2aa4da75a3..43aef9a48d0 100644 --- a/src/mesa/drivers/dri/swrast/swrast.c +++ b/src/mesa/drivers/dri/swrast/swrast.c @@ -965,7 +965,6 @@ static const __DRIextension *swrast_driver_extensions[] = { &driCoreExtension.base, &driSWRastExtension.base, &driCopySubBufferExtension.base, - &dri2ConfigQueryExtension.base, &swrast_vtable.base, NULL };