aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/main/framebuffer.c
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/main/framebuffer.c
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/main/framebuffer.c')
-rw-r--r--src/mesa/main/framebuffer.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mesa/main/framebuffer.c b/src/mesa/main/framebuffer.c
index 727831e3d97..9246a0465a6 100644
--- a/src/mesa/main/framebuffer.c
+++ b/src/mesa/main/framebuffer.c
@@ -435,7 +435,6 @@ _mesa_update_framebuffer_visual(struct gl_context *ctx,
struct gl_framebuffer *fb)
{
memset(&fb->Visual, 0, sizeof(fb->Visual));
- fb->Visual.rgbMode = GL_TRUE; /* assume this */
/* find first RGB renderbuffer */
for (unsigned i = 0; i < BUFFER_COUNT; i++) {