diff options
author | Adam Jackson <[email protected]> | 2019-09-06 11:43:19 -0400 |
---|---|---|
committer | Adam Jackson <[email protected]> | 2019-09-09 14:12:57 -0400 |
commit | c4990b7b19b5ea4ebec1fa4c4a94bfed33c34b9f (patch) | |
tree | 262769cba0bb6794c31506f13b8c29b2b7b20dcd /src/gallium/state_trackers/glx | |
parent | 04bef9a0a6ed9cff3cbe4c43c056de95bb12d526 (diff) |
mesa: Remove unused gl_config::indexBits
Reviewed-by: Eric Anholt <[email protected]>
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers/glx')
-rw-r--r-- | src/gallium/state_trackers/glx/xlib/xm_api.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/gallium/state_trackers/glx/xlib/xm_api.c b/src/gallium/state_trackers/glx/xlib/xm_api.c index d63ea485e1b..a2ef87fa10f 100644 --- a/src/gallium/state_trackers/glx/xlib/xm_api.c +++ b/src/gallium/state_trackers/glx/xlib/xm_api.c @@ -666,7 +666,6 @@ initialize_visual_and_buffer(XMesaVisual v, XMesaBuffer b, "XMesa: RGB mode rendering not supported in given visual.\n"); return GL_FALSE; } - v->mesa_visual.indexBits = 0; if (v->BitsPerPixel == 32) { /* We use XImages for all front/back buffers. If an X Window or @@ -859,7 +858,6 @@ XMesaVisual XMesaCreateVisual( Display *display, vis->alphaBits = alpha_bits; vis->rgbBits = red_bits + green_bits + blue_bits; - vis->indexBits = 0; vis->depthBits = depth_size; vis->stencilBits = stencil_size; |