diff options
Diffstat (limited to 'devel/electron29/files/patch-ui_gl_gl__implementation.cc')
-rw-r--r-- | devel/electron29/files/patch-ui_gl_gl__implementation.cc | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/devel/electron29/files/patch-ui_gl_gl__implementation.cc b/devel/electron29/files/patch-ui_gl_gl__implementation.cc new file mode 100644 index 000000000000..8975ee88a9ec --- /dev/null +++ b/devel/electron29/files/patch-ui_gl_gl__implementation.cc @@ -0,0 +1,11 @@ +--- ui/gl/gl_implementation.cc.orig 2023-11-29 21:40:44 UTC ++++ ui/gl/gl_implementation.cc +@@ -276,7 +276,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 |