1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-26 09:46:09 +00:00
freebsd-ports/www/chromium/files/patch-cc_test_pixel__test.cc

12 lines
444 B
C++

--- cc/test/pixel_test.cc.orig 2020-07-13 09:15:14 UTC
+++ cc/test/pixel_test.cc
@@ -69,7 +69,7 @@ PixelTest::PixelTest(GraphicsBackend backend)
init_vulkan = true;
} else if (backend == kSkiaDawn) {
scoped_feature_list_.InitAndEnableFeature(features::kSkiaDawn);
-#if defined(OS_LINUX)
+#if defined(OS_LINUX) || defined(OS_BSD)
init_vulkan = true;
#elif defined(OS_WIN)
// TODO(sgilhuly): Initialize D3D12 for Windows.