From 0c494c238a33c6f003f5fb31e2bb5f5399e3c141 Mon Sep 17 00:00:00 2001 From: wm4 Date: Sun, 27 Sep 2015 16:07:18 +0200 Subject: vo_opengl: rpi: fix EGL comment While EGL 1.4 seemed a bit ambiguous about this to me, it actually says quite clearly that core functions are not supported with eglGetProcAddress() in the following paragraph. --- video/out/opengl/rpi.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/video/out/opengl/rpi.c b/video/out/opengl/rpi.c index 7c486fc0b1..23993bb31c 100644 --- a/video/out/opengl/rpi.c +++ b/video/out/opengl/rpi.c @@ -32,10 +32,8 @@ static void *get_proc_address(const GLubyte *name) { void *p = eglGetProcAddress(name); - // It looks like eglGetProcAddress() should work even for builtin - // functions, but it doesn't work at least with RPI/Broadcom crap. - // (EGL 1.4, which current RPI firmware pretends to support, definitely - // is required to return non-extension functions.) + // EGL 1.4 (supported by the RPI firmware) does not necessarily return + // function pointers for core functions. if (!p) { void *h = dlopen("/opt/vc/lib/libGLESv2.so", RTLD_LAZY); if (h) { -- cgit v1.2.3