From b4ff5e90e9ab3471a5f5c7a403826c9af952b594 Mon Sep 17 00:00:00 2001 From: Nicolai Hähnle Date: Fri, 30 Jun 2017 11:06:06 +0200 Subject: st/dri: implement v2 of DRI_ConfigOptions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reviewed-by: Marek Olšák --- src/gallium/state_trackers/dri/dri_screen.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/gallium/state_trackers') diff --git a/src/gallium/state_trackers/dri/dri_screen.c b/src/gallium/state_trackers/dri/dri_screen.c index 1fa0347d644..f888abd6e70 100644 --- a/src/gallium/state_trackers/dri/dri_screen.c +++ b/src/gallium/state_trackers/dri/dri_screen.c @@ -49,8 +49,9 @@ #undef false const __DRIconfigOptionsExtension gallium_config_options = { - .base = { __DRI_CONFIG_OPTIONS, 1 }, - .xml = gallium_driinfo_xml + .base = { __DRI_CONFIG_OPTIONS, 2 }, + .xml = gallium_driinfo_xml, + .getXml = pipe_loader_get_driinfo_xml }; #define false 0 -- cgit v1.2.3