aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers
diff options
context:
space:
mode:
authorNicolai Hähnle <[email protected]>2017-06-30 11:06:06 +0200
committerNicolai Hähnle <[email protected]>2017-08-02 09:50:58 +0200
commitb4ff5e90e9ab3471a5f5c7a403826c9af952b594 (patch)
treee7b62510bd9f95398b0c09ecebfcc3bf53a22d5c /src/gallium/state_trackers
parentaa222e21c288887348cf52e14696559a58dec13c (diff)
st/dri: implement v2 of DRI_ConfigOptions
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers')
-rw-r--r--src/gallium/state_trackers/dri/dri_screen.c5
1 files changed, 3 insertions, 2 deletions
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