aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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>