vlc | branch: master | Alexandre Janniaux <[email protected]> | Thu Jan 28 
12:11:12 2021 +0100| [de6322e38a0dc90ff6127e1cea1c08e77b059899] | committer: 
Alexandre Janniaux

opengl: gl_api: load symbols from loader on GL ES2

The clients are egl and iOS, which both supports the extension
EGL_KHR_get_all_proc_address or equivalent (through dlsym for instance).

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=de6322e38a0dc90ff6127e1cea1c08e77b059899
---

 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)

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to