ports/www/iridium/files/patch-ui_gl_gl__implementation.cc
2025-02-23 07:58:58 +01:00

11 lines
575 B
C++

--- ui/gl/gl_implementation.cc.orig 2025-02-22 18:06:53 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