summaryrefslogtreecommitdiff
path: root/www/ungoogled-chromium/files/patch-ui_gl_gl__implementation.cc
blob: b4083842deb7362f606517c3c60e439dfb25b5d6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- ui/gl/gl_implementation.cc.orig	2025-05-06 12:23:00 UTC
+++ ui/gl/gl_implementation.cc
@@ -286,7 +286,7 @@ GetRequestedGLImplementationFromCommandLine(
     const base::CommandLine* command_line) {
   bool overrideUseSoftwareGL =
       command_line->HasSwitch(switches::kOverrideUseSoftwareGLForTests);
-#if BUILDFLAG(IS_LINUX) || \
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) || \
     (BUILDFLAG(IS_CHROMEOS) && !BUILDFLAG(IS_CHROMEOS_DEVICE))
   if (std::getenv("RUNNING_UNDER_RR")) {
     // https://rr-project.org/ is a Linux-only record-and-replay debugger that