aboutsummaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-gpu_config_gpu__util.cc
blob: 5fb70493af34918d14e2185b40f2e1f4e0989773 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- gpu/config/gpu_util.cc.orig	2021-12-31 00:57:34 UTC
+++ gpu/config/gpu_util.cc
@@ -795,7 +795,7 @@ bool EnableSwiftShaderIfNeeded(base::CommandLine* comm
       gpu_feature_info.status_values[GPU_FEATURE_TYPE_ACCELERATED_GL] !=
           kGpuFeatureStatusEnabled) {
     bool legacy_software_gl = true;
-#if defined(OS_LINUX) || defined(OS_WIN)
+#if defined(OS_LINUX) || defined(OS_WIN) || defined(OS_BSD)
     // This setting makes WebGL run on SwANGLE instead of SwiftShader GL.
     legacy_software_gl = false;
 #endif