Module: Mesa Branch: master Commit: 000035222e5a14442f25850b957c2828455590d7 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=000035222e5a14442f25850b957c2828455590d7
Author: Adam Jackson <a...@redhat.com> Date: Tue Apr 6 15:54:28 2021 -0400 glx: Downgrade aux-buffer-ful fbconfigs Mesa's never supported this, but NVIDIA does, on every fbconfig. Just disable it if we see it. Acked-By: Mike Blumenkrantz <michael.blumenkra...@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/1648> --- src/glx/dri_common.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/glx/dri_common.c b/src/glx/dri_common.c index beb5c8a0ff7..b1378698222 100644 --- a/src/glx/dri_common.c +++ b/src/glx/dri_common.c @@ -255,6 +255,18 @@ driConfigEqual(const __DRIcoreExtension *core, } break; + case __DRI_ATTRIB_AUX_BUFFERS: + if (!scalarEqual(config, attrib, value)) { + static int warned; + if (!warned) { + dri_message(_LOADER_DEBUG, + "Disabling server's aux buffer support\n"); + warned = 1; + } + config->numAuxBuffers = 0; + } + break; + default: if (!scalarEqual(config, attrib, value)) return GL_FALSE; _______________________________________________ mesa-commit mailing list mesa-commit@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-commit