summaryrefslogtreecommitdiff
path: root/devel/electron35/files/patch-ui_gl_gl__implementation.cc
blob: 84406d91ac9a0855bb9c25ff4245c646282cad2a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- ui/gl/gl_implementation.cc.orig	2025-01-27 17:37:37 UTC
+++ ui/gl/gl_implementation.cc
@@ -252,7 +252,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