EGL_OPENGL_ES_BIT->EGL_OPENGL_ES2_BIT

This commit is contained in:
dec05eba
2025-06-16 20:57:59 +02:00
parent 630c504241
commit bc58e382b7
5 changed files with 6 additions and 3 deletions

View File

@@ -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>

View File

@@ -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
};

View File

@@ -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>