summaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker
diff options
context:
space:
mode:
authorAdam Jackson <[email protected]>2019-09-06 12:30:19 -0400
committerAdam Jackson <[email protected]>2019-09-09 14:12:57 -0400
commit366b2e5c19109762cbdb3c31ac487826b6dd903a (patch)
tree9167a23acac87d65af00bd872471940733d13455 /src/mesa/state_tracker
parent78e0fa6bb265afc11e7eab35ef6145b48b056ad0 (diff)
mesa: Eliminate gl_config::rgbMode
Reviewed-by: Eric Anholt <[email protected]> Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/mesa/state_tracker')
-rw-r--r--src/mesa/state_tracker/st_manager.c2
1 files changed, 0 insertions, 2 deletions
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);