aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2025-06-16 20:57:59 +0200
committerdec05eba <dec05eba@protonmail.com>2025-06-16 20:57:59 +0200
commitbc58e382b7182497d1cfc08e1a158d1ecd5ef4cd (patch)
tree77591cd31b7a2dfa93fb1baeea4a25725bb65ff5 /src
parent630c5042410996d3ec05ddf2906f1f5d2d424626 (diff)
EGL_OPENGL_ES_BIT->EGL_OPENGL_ES2_BIT
Diffstat (limited to 'src')
-rw-r--r--src/capture/kms.c2
-rw-r--r--src/egl.c2
-rw-r--r--src/pipewire_video.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/capture/kms.c b/src/capture/kms.c
index daba6bc..36a5355 100644
--- a/src/capture/kms.c
+++ b/src/capture/kms.c
@@ -12,7 +12,7 @@
#include <fcntl.h>
#include <xf86drm.h>
-#include <libdrm/drm_fourcc.h>
+#include <drm_fourcc.h>
#include <libavutil/mastering_display_metadata.h>
diff --git a/src/egl.c b/src/egl.c
index 25a3444..d2d90e8 100644
--- a/src/egl.c
+++ b/src/egl.c
@@ -35,7 +35,7 @@ static bool gsr_egl_create_window(gsr_egl *self) {
const int32_t attr[] = {
EGL_BUFFER_SIZE, 24,
- EGL_RENDERABLE_TYPE, EGL_OPENGL_ES_BIT,
+ EGL_RENDERABLE_TYPE, EGL_OPENGL_ES2_BIT,
EGL_NONE, EGL_NONE
};
diff --git a/src/pipewire_video.c b/src/pipewire_video.c
index 29d12fd..6704399 100644
--- a/src/pipewire_video.c
+++ b/src/pipewire_video.c
@@ -6,7 +6,7 @@
#include <spa/param/video/format-utils.h>
#include <spa/debug/types.h>
-#include <libdrm/drm_fourcc.h>
+#include <drm_fourcc.h>
#include <fcntl.h>
#include <unistd.h>