[vlc-devel] [PATCH 3/4] opengl: gl_api: load symbols from loader on GL ES2

Alexandre Janniaux ajanni at videolabs.io
Thu Jan 28 11:11:12 UTC 2021


The clients are egl and iOS, which both supports the extension
EGL_KHR_get_all_proc_address or equivalent (through dlsym for instance).
---
 modules/video_output/opengl/gl_api.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/video_output/opengl/gl_api.c b/modules/video_output/opengl/gl_api.c
index dd8f37c9ba..8cbce7a41d 100644
--- a/modules/video_output/opengl/gl_api.c
+++ b/modules/video_output/opengl/gl_api.c
@@ -34,7 +34,7 @@
 int
 vlc_gl_api_Init(struct vlc_gl_api *api, vlc_gl_t *gl)
 {
-#if defined(USE_OPENGL_ES2) || defined(HAVE_GL_CORE_SYMBOLS)
+#if defined(HAVE_GL_CORE_SYMBOLS)
 #define GET_PROC_ADDR_CORE(name) api->vt.name = gl##name
 #else
 #define GET_PROC_ADDR_CORE(name) GET_PROC_ADDR_EXT(name, true)
-- 
2.30.0



More information about the vlc-devel mailing list