swrast: add dri2ConfigQueryExtension to the correct extension list
authorEmil Velikov <emil.velikov@collabora.com>
Mon, 24 Jul 2017 09:10:49 +0000 (10:10 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Mon, 24 Jul 2017 09:58:51 +0000 (10:58 +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.

Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
src/mesa/drivers/dri/swrast/swrast.c

index 43aef9a48d05582db9f0878b3eeb3dd6a34aa884..7de90d31f1357165947bc1bef295e5bcb640d2dd 100644 (file)
@@ -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
 };