Mesa (main): gallium/xlib: fix stale comment

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Fri Apr 29 19:56:53 UTC 2022


Module: Mesa
Branch: main
Commit: 82b681db997a6ee01114cdc14593e5d20933b052
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=82b681db997a6ee01114cdc14593e5d20933b052

Author: Erik Faye-Lund <erik.faye-lund at collabora.com>
Date:   Fri Apr 29 09:20:33 2022 +0200

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: 5f60a00743f ("st/glx: remove STENCIL_BITS, DEFAULT_SOFTWARE_DEPTH_BITS")
Reviewed-by: Adam Jackson <ajax at redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16213>

---

 src/gallium/frontends/glx/xlib/glx_api.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/gallium/frontends/glx/xlib/glx_api.c b/src/gallium/frontends/glx/xlib/glx_api.c
index fda16257982..84b70f87207 100644
--- a/src/gallium/frontends/glx/xlib/glx_api.c
+++ b/src/gallium/frontends/glx/xlib/glx_api.c
@@ -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



More information about the mesa-commit mailing list