gallium/xlib: fix stale comment

We haven't been doing what the comment says for about a decade, it's
about time to update the comment!

Fixes: 5f60a00743 ("st/glx: remove STENCIL_BITS, DEFAULT_SOFTWARE_DEPTH_BITS")
Reviewed-by: Adam Jackson <ajax@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16213>
(cherry picked from commit 82b681db99)
This commit is contained in:
Erik Faye-Lund 2022-04-29 09:20:33 +02:00 committed by Dylan Baker
parent 5186ec497b
commit 7bb8a78434
2 changed files with 2 additions and 2 deletions

View file

@ -788,7 +788,7 @@
"description": "gallium/xlib: fix stale comment",
"nominated": true,
"nomination_type": 1,
"resolution": 0,
"resolution": 1,
"because_sha": "5f60a00743f6e03c3b90fa3a95e448e53bc150e1"
},
{

View file

@ -279,7 +279,7 @@ save_glx_visual( Display *dpy, XVisualInfo *vinfo,
/**
* Return the default number of bits for the Z buffer.
* If defined, use the MESA_GLX_DEPTH_BITS env var value.
* Otherwise, use the DEFAULT_SOFTWARE_DEPTH_BITS constant.
* Otherwise, use 24.
* XXX probably do the same thing for stencil, accum, etc.
*/
static GLint