From 19bacc91a596775aed9c019c6d20eb284e90ee58 Mon Sep 17 00:00:00 2001 From: Raed Rizqie Date: Sat, 5 Jul 2025 18:19:10 +0800 Subject: [PATCH 1/2] libEGL detection --- meson.build | 3 +++ 1 file changed, 3 insertions(+) diff --git a/meson.build b/meson.build index 7d85265..9e47dab 100644 --- a/meson.build +++ b/meson.build @@ -169,6 +169,9 @@ if not gl_dep.found() and not build_glx gl_dep = dependency('opengl', required: false) endif egl_dep = dependency('egl', required: false) +if not egl_dep.found() + egl_dep = cc.find_library('libEGL', required: false) +endif elg_headers_dep = egl_dep.partial_dependency(compile_args: true, includes: true) # Optional dependencies for tests From 987a6d16bc879acbab6fb82f26248605b0847504 Mon Sep 17 00:00:00 2001 From: Raed Rizqie Date: Sat, 5 Jul 2025 18:21:00 +0800 Subject: [PATCH 2/2] libGLESv1_CM dll name --- src/dispatch_common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dispatch_common.c b/src/dispatch_common.c index 9f3dac4..1f941b2 100644 --- a/src/dispatch_common.c +++ b/src/dispatch_common.c @@ -185,7 +185,7 @@ #define GLES2_LIB "libGLESv2.so" #elif defined(_WIN32) #define EGL_LIB "libEGL.dll" -#define GLES1_LIB "libGLES_CM.dll" +#define GLES1_LIB "libGLESv1_CM.dll" #define GLES2_LIB "libGLESv2.dll" #define OPENGL_LIB "OPENGL32" #else