summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri
diff options
context:
space:
mode:
authorEmil Velikov <[email protected]>2017-07-24 10:10:49 +0100
committerEmil Velikov <[email protected]>2017-07-24 10:58:51 +0100
commitda9e6fdfe27065b8ede8b2fe30c8cccc3b573245 (patch)
treea634acf93b21a9673832f61922022f3c05c235d0 /src/mesa/drivers/dri
parent3057ca9a50122b7cde701931a34b9e1fdcbbf833 (diff)
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 <[email protected]> Reviewed-by: Alex Deucher <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri')
-rw-r--r--src/mesa/drivers/dri/swrast/swrast.c1
1 files changed, 1 insertions, 0 deletions
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
};