aboutsummaryrefslogtreecommitdiff
path: root/www/ungoogled-chromium/files/patch-components_viz_host_renderer__settings__creation.cc
blob: f36bcd39c7bf1a5e604857b8a4df05323a11dc0c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- components/viz/host/renderer_settings_creation.cc.orig	2022-10-01 07:40:07 UTC
+++ components/viz/host/renderer_settings_creation.cc
@@ -52,7 +52,7 @@ RendererSettings CreateRendererSettings() {
   renderer_settings.partial_swap_enabled =
       !command_line->HasSwitch(switches::kUIDisablePartialSwap);
 
-#if BUILDFLAG(IS_APPLE) || BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_APPLE) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
   // Simple frame rate throttling only works on macOS and Linux
   renderer_settings.apply_simple_frame_rate_throttling =
       features::IsSimpleFrameRateThrottlingEnabled();