summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/x11
diff options
context:
space:
mode:
authorAdam Jackson <[email protected]>2019-09-06 11:43:19 -0400
committerAdam Jackson <[email protected]>2019-09-09 14:12:57 -0400
commitc4990b7b19b5ea4ebec1fa4c4a94bfed33c34b9f (patch)
tree262769cba0bb6794c31506f13b8c29b2b7b20dcd /src/mesa/drivers/x11
parent04bef9a0a6ed9cff3cbe4c43c056de95bb12d526 (diff)
mesa: Remove unused gl_config::indexBits
Reviewed-by: Eric Anholt <[email protected]> Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/mesa/drivers/x11')
-rw-r--r--src/mesa/drivers/x11/xm_api.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mesa/drivers/x11/xm_api.c b/src/mesa/drivers/x11/xm_api.c
index 90f89a36221..6857789a011 100644
--- a/src/mesa/drivers/x11/xm_api.c
+++ b/src/mesa/drivers/x11/xm_api.c
@@ -582,7 +582,6 @@ initialize_visual_and_buffer(XMesaVisual v, XMesaBuffer b,
_mesa_warning(NULL, "XMesa: RGB mode rendering not supported in given visual.\n");
return GL_FALSE;
}
- v->mesa_visual.indexBits = 0;
if (getenv("MESA_NO_DITHER")) {
v->dithered_pf = v->undithered_pf;