From 9fb8476e67a4470bc327303cadcf5320b34c6ebc Mon Sep 17 00:00:00 2001 From: Nicolai Hähnle Date: Thu, 3 Aug 2017 15:01:09 +0200 Subject: gallium: get rid of pipe_screen_config::flags MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit They were set only by the DRI state tracker, which is problematic when radeonsi is used with different state trackers in the same process. Also, we don't need them anymore. Tested-by: Dieter Nützel Reviewed-by: Marek Olšák --- src/gallium/state_trackers/dri/drisw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gallium/state_trackers/dri/drisw.c') diff --git a/src/gallium/state_trackers/dri/drisw.c b/src/gallium/state_trackers/dri/drisw.c index d3d44bf418b..ad40e2f837b 100644 --- a/src/gallium/state_trackers/dri/drisw.c +++ b/src/gallium/state_trackers/dri/drisw.c @@ -402,7 +402,7 @@ drisw_init_screen(__DRIscreen * sPriv) if (pipe_loader_sw_probe_dri(&screen->dev, &drisw_lf)) { struct pipe_screen_config config; - config.flags = dri_init_options_get_screen_flags(screen); + dri_init_options(screen); pscreen = pipe_loader_create_screen(screen->dev, &config); } -- cgit v1.2.3