aboutsummaryrefslogtreecommitdiffstats
path: root/devel/electron37/files/patch-ui_gl_gl__implementation.cc
blob: 349634ca50deb6a07fadfaf37b0ac9564b826eaa (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- ui/gl/gl_implementation.cc.orig	2025-06-30 07:04:30 UTC
+++ ui/gl/gl_implementation.cc
@@ -287,7 +287,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