swrast: add dri2ConfigQueryExtension to the correct extension list
authorEmil Velikov <emil.velikov@collabora.com>
Fri, 7 Jul 2017 18:13:59 +0000 (19:13 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Wed, 19 Jul 2017 12:06:50 +0000 (13:06 +0100)
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 <emil.velikov@collabora.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com> (v1)
src/gallium/state_trackers/dri/dri2.c
src/mesa/drivers/dri/swrast/swrast.c

index 787949ec396c2f5a5e6283a649c6a23cd4671a20..f74f1d19b19d2e3b3a7d204c80ac4159717ca425 100644 (file)
@@ -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,
index c2aa4da75a39bd0a7af47c40dec08e7b1c96597b..43aef9a48d05582db9f0878b3eeb3dd6a34aa884 100644 (file)
@@ -965,7 +965,6 @@ static const __DRIextension *swrast_driver_extensions[] = {
     &driCoreExtension.base,
     &driSWRastExtension.base,
     &driCopySubBufferExtension.base,
-    &dri2ConfigQueryExtension.base,
     &swrast_vtable.base,
     NULL
 };