summaryrefslogtreecommitdiff
path: root/www/ungoogled-chromium/files/patch-gpu_vulkan_vulkan__util.cc
blob: e59997633cfde3198c6edf8ab983eee37833f3c4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- gpu/vulkan/vulkan_util.cc.orig	2023-08-18 10:26:52 UTC
+++ gpu/vulkan/vulkan_util.cc
@@ -343,7 +343,7 @@ bool CheckVulkanCompabilities(const VulkanInfo& vulkan
     }
   }
 
-#if BUILDFLAG(IS_LINUX) && !defined(OZONE_PLATFORM_IS_X11)
+#if (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)) && !defined(OZONE_PLATFORM_IS_X11)
   // Vulkan is only supported with X11 on Linux for now.
   return false;
 #else