From 5c6d6eedb3c550dfe74f0e6349aaed99fc23f70d Mon Sep 17 00:00:00 2001 From: Chad Versace Date: Sat, 31 Mar 2018 01:15:09 -0700 Subject: dri: Add param driCreateConfigs(mutable_render_buffer) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit If set, then the config will have __DRI_ATTRIB_MUTABLE_RENDER_BUFFER, which translates to EGL_MUTABLE_RENDER_BUFFER_BIT_KHR. Not used yet. Reviewed-by: Tapani Pälli --- src/gallium/state_trackers/dri/dri_screen.c | 4 ++-- 1 file changed, 2 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 fe4e39b3f93..e5bc47391e7 100644 --- a/src/gallium/state_trackers/dri/dri_screen.c +++ b/src/gallium/state_trackers/dri/dri_screen.c @@ -274,7 +274,7 @@ dri_fill_in_modes(struct dri_screen *screen) depth_buffer_factor, back_buffer_modes, ARRAY_SIZE(back_buffer_modes), msaa_modes, 1, - GL_TRUE, !mixed_color_depth); + GL_TRUE, !mixed_color_depth, GL_FALSE); configs = driConcatConfigs(configs, new_configs); /* Multi-sample configs without an accumulation buffer. */ @@ -284,7 +284,7 @@ dri_fill_in_modes(struct dri_screen *screen) depth_buffer_factor, back_buffer_modes, ARRAY_SIZE(back_buffer_modes), msaa_modes+1, num_msaa_modes-1, - GL_FALSE, !mixed_color_depth); + GL_FALSE, !mixed_color_depth, GL_FALSE); configs = driConcatConfigs(configs, new_configs); } } -- cgit v1.2.3