head 1.1; access; symbols pkgsrc-2026Q1:1.1.0.22 pkgsrc-2026Q1-base:1.1 pkgsrc-2025Q4:1.1.0.20 pkgsrc-2025Q4-base:1.1 pkgsrc-2025Q3:1.1.0.18 pkgsrc-2025Q3-base:1.1 pkgsrc-2025Q2:1.1.0.16 pkgsrc-2025Q2-base:1.1 pkgsrc-2025Q1:1.1.0.14 pkgsrc-2025Q1-base:1.1 pkgsrc-2024Q4:1.1.0.12 pkgsrc-2024Q4-base:1.1 pkgsrc-2024Q3:1.1.0.10 pkgsrc-2024Q3-base:1.1 pkgsrc-2024Q2:1.1.0.8 pkgsrc-2024Q2-base:1.1 pkgsrc-2024Q1:1.1.0.6 pkgsrc-2024Q1-base:1.1 pkgsrc-2023Q4:1.1.0.4 pkgsrc-2023Q4-base:1.1 pkgsrc-2023Q3:1.1.0.2 pkgsrc-2023Q3-base:1.1; locks; strict; comment @// @; 1.1 date 2023.07.26.13.37.35; author abs; state Exp; branches; next ; commitid 69QUsmFvEhjxEjyE; desc @@ 1.1 log @Work around upstream commit which seems to break usage on at least NetBSD DRM devices (still worked fine with software rendering) https://github.com/glmark2/glmark2/commit/ea488e972bbac35084b02d5b24392c26a8f232f2 Instead now if we cannot find a "good" config, we use the best found with a warning Also apply https://github.com/glmark2/glmark2/pull/203 Bump pkgrevision OK'd by MAINTAINER @ text @$NetBSD$ Make failure to find a good GLX FB config non fatal --- src/gl-state-glx.cpp.orig 2023-01-19 11:02:15.000000000 +0000 +++ src/gl-state-glx.cpp @@@@ -342,7 +342,10 @@@@ GLStateGLX::select_best_config(std::vect } } - return best_score > 0 ? best_config : 0; + if (best_score <= 0) { + Log::error("Unable to find good GLX FB config (best match %d)\n", best_config); + } + return best_config; } GLADapiproc @