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 <emil.velikov@collabora.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com> (v1)
This commit is contained in:
Emil Velikov 2017-07-07 19:13:59 +01:00 committed by Emil Velikov
parent 225e45d45c
commit 7791949dad
2 changed files with 1 additions and 2 deletions

View 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,

View file

@ -965,7 +965,6 @@ static const __DRIextension *swrast_driver_extensions[] = {
&driCoreExtension.base,
&driSWRastExtension.base,
&driCopySubBufferExtension.base,
&dri2ConfigQueryExtension.base,
&swrast_vtable.base,
NULL
};