ports/www/chromium/patches/patch-ui_gl_gl_implementation_cc

12 lines
576 B
Text

Index: ui/gl/gl_implementation.cc
--- ui/gl/gl_implementation.cc.orig
+++ ui/gl/gl_implementation.cc
@@ -281,7 +281,7 @@ GetRequestedGLImplementationFromCommandLine(
*fallback_to_software_gl = false;
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