diff options
-rw-r--r-- | README.md | 1 | ||||
-rw-r--r-- | src/encoder/video/vulkan.c | 1 |
2 files changed, 2 insertions, 0 deletions
@@ -61,6 +61,7 @@ GPU Screen Recorder uses meson build system so you need to install `meson` to bu These are the dependencies needed to build GPU Screen Recorder: * libglvnd (which provides libgl, libglx and libegl) +* vulkan-headers * ffmpeg (libavcodec, libavformat, libavutil, libswresample, libavfilter) * x11 (libx11, libxcomposite, libxrandr, libxfixes, libxdamage) * libpulse diff --git a/src/encoder/video/vulkan.c b/src/encoder/video/vulkan.c index 15536d0..712952f 100644 --- a/src/encoder/video/vulkan.c +++ b/src/encoder/video/vulkan.c @@ -3,6 +3,7 @@ #include "../../../include/egl.h" #include <libavcodec/avcodec.h> +#define VK_NO_PROTOTYPES #include <libavutil/hwcontext_vulkan.h> //#include <vulkan/vulkan_core.h> |