diff options
author | wm4 <wm4@nowhere> | 2015-09-27 16:07:18 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-09-27 16:07:18 +0200 |
commit | 0c494c238a33c6f003f5fb31e2bb5f5399e3c141 (patch) | |
tree | 7001b5d027c50d457236ee5b2a5fc3d65192146f /video | |
parent | 375886c7779c805e46f79ff3c648f9005bb47830 (diff) |
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.
Diffstat (limited to 'video')
-rw-r--r-- | video/out/opengl/rpi.c | 6 |
1 files 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) { |