summaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-gpu_vulkan_vulkan__util.cc
blob: 50d36808acc2056861582d4c6400f952545afc55 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- gpu/vulkan/vulkan_util.cc.orig	2024-05-21 18:07:39 UTC
+++ gpu/vulkan/vulkan_util.cc
@@ -468,7 +468,7 @@ bool CheckVulkanCompatibilities(
     }
   }
 
-#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