aboutsummaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-third__party_dawn_src_include_dawn__native_VulkanBackend.h
blob: d16768208eda58c2c83fa35b4aebfc739c0358a5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- third_party/dawn/src/include/dawn_native/VulkanBackend.h.orig	2021-06-11 10:05:54 UTC
+++ third_party/dawn/src/include/dawn_native/VulkanBackend.h
@@ -63,7 +63,7 @@ namespace dawn_native { namespace vulkan {
     };
 
 // Can't use DAWN_PLATFORM_LINUX since header included in both Dawn and Chrome
-#ifdef __linux__
+#if defined(__linux__) || defined(__FreeBSD__)
 
         // Common properties of external images represented by FDs. On successful import the file
         // descriptor's ownership is transferred to the Dawn implementation and they shouldn't be