aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2024-10-02 17:50:13 +0200
committerdec05eba <dec05eba@protonmail.com>2024-10-02 17:50:13 +0200
commitecf48766545e6f4546fcb6aa2f34ea3d125cfabc (patch)
tree0cda2c62f8c4dc69da2e50ef01f1776128b7ded9
parent07a843747c8a1885c0783c3234a145d7e3c5f56e (diff)
vulkan-headers as dependency
-rw-r--r--README.md1
-rw-r--r--src/encoder/video/vulkan.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/README.md b/README.md
index b79a412..d9e91c9 100644
--- a/README.md
+++ b/README.md
@@ -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>