From 366b2e5c19109762cbdb3c31ac487826b6dd903a Mon Sep 17 00:00:00 2001 From: Adam Jackson Date: Fri, 6 Sep 2019 12:30:19 -0400 Subject: mesa: Eliminate gl_config::rgbMode MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reviewed-by: Eric Anholt Reviewed-by: Marek Olšák --- src/mesa/state_tracker/st_manager.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/mesa/state_tracker') diff --git a/src/mesa/state_tracker/st_manager.c b/src/mesa/state_tracker/st_manager.c index b49e269124c..62af7ba921b 100644 --- a/src/mesa/state_tracker/st_manager.c +++ b/src/mesa/state_tracker/st_manager.c @@ -380,8 +380,6 @@ st_visual_to_context_mode(const struct st_visual *visual, mode->stereoMode = GL_TRUE; if (visual->color_format != PIPE_FORMAT_NONE) { - mode->rgbMode = GL_TRUE; - mode->redBits = util_format_get_component_bits(visual->color_format, UTIL_FORMAT_COLORSPACE_RGB, 0); -- cgit v1.2.3