LibGfx: Enable Vulkan shared images and WebGL on FreeBSD

This commit is contained in:
Undefine 2025-09-12 15:59:23 +02:00 committed by Jelle Raaijmakers
parent bfa86f7961
commit 40bc1c0eb5

View File

@ -12,9 +12,9 @@
# include <AK/NonnullRefPtr.h> # include <AK/NonnullRefPtr.h>
# include <AK/RefCounted.h> # include <AK/RefCounted.h>
# include <vulkan/vulkan.h> # include <vulkan/vulkan.h>
# ifdef AK_OS_LINUX # if defined(AK_OS_LINUX) || defined(AK_OS_FREEBSD)
# include <libdrm/drm_fourcc.h> # include <libdrm/drm_fourcc.h>
// Sharable Vulkan images are currently only implemented on Linux // Sharable Vulkan images are currently only implemented on Linux and FreeBSD
# define USE_VULKAN_IMAGES 1 # define USE_VULKAN_IMAGES 1
# endif # endif