aboutsummaryrefslogtreecommitdiff
path: root/devel/electron37/files/patch-ui_gl_gl__implementation.cc
diff options
context:
space:
mode:
Diffstat (limited to 'devel/electron37/files/patch-ui_gl_gl__implementation.cc')
-rw-r--r--devel/electron37/files/patch-ui_gl_gl__implementation.cc11
1 files changed, 11 insertions, 0 deletions
diff --git a/devel/electron37/files/patch-ui_gl_gl__implementation.cc b/devel/electron37/files/patch-ui_gl_gl__implementation.cc
new file mode 100644
index 000000000000..349634ca50de
--- /dev/null
+++ b/devel/electron37/files/patch-ui_gl_gl__implementation.cc
@@ -0,0 +1,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