mirror of
https://repo.dec05eba.com/gpu-screen-recorder
synced 2026-04-18 16:05:49 +09:00
EGL_OPENGL_ES_BIT->EGL_OPENGL_ES2_BIT
This commit is contained in:
@@ -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>
|
||||
|
||||
|
||||
@@ -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
|
||||
};
|
||||
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user