From 85065859a26b0355c5dd2c6e9a20ae4a287aafa6 Mon Sep 17 00:00:00 2001 From: Erik Faye-Lund Date: Fri, 29 Apr 2022 09:20:33 +0200 Subject: [PATCH] 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 Part-of: (cherry picked from commit 82b681db997a6ee01114cdc14593e5d20933b052) --- .pick_status.json | 2 +- src/gallium/frontends/glx/xlib/glx_api.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.pick_status.json b/.pick_status.json index 56dce70ff7d..41718a21cd8 100644 --- a/.pick_status.json +++ b/.pick_status.json @@ -985,7 +985,7 @@ "description": "gallium/xlib: fix stale comment", "nominated": true, "nomination_type": 1, - "resolution": 0, + "resolution": 1, "main_sha": null, "because_sha": "5f60a00743f6e03c3b90fa3a95e448e53bc150e1" }, 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