Skip to content

Commit 40bc1c0

Browse files
cqundefinegmta
authored andcommitted
LibGfx: Enable Vulkan shared images and WebGL on FreeBSD
1 parent bfa86f7 commit 40bc1c0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Libraries/LibGfx/VulkanContext.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@
1212
# include <AK/NonnullRefPtr.h>
1313
# include <AK/RefCounted.h>
1414
# include <vulkan/vulkan.h>
15-
# ifdef AK_OS_LINUX
15+
# if defined(AK_OS_LINUX) || defined(AK_OS_FREEBSD)
1616
# include <libdrm/drm_fourcc.h>
17-
// Sharable Vulkan images are currently only implemented on Linux
17+
// Sharable Vulkan images are currently only implemented on Linux and FreeBSD
1818
# define USE_VULKAN_IMAGES 1
1919
# endif
2020

0 commit comments

Comments
 (0)