From caf35e695fbad263520e89ea1bd6be424c7e25ec Mon Sep 17 00:00:00 2001 From: wm4 Date: Sat, 31 May 2014 22:00:06 +0200 Subject: gl_wayland: remove probably unneeded workaround This would imply eglGetProcAddress() doesn't work correctly, but using dlsym() does. For now get rid of it - it won't work in libmpv, and we'll probably need a better workaround if it's still broken. This code was in the initial wayland commit. --- video/out/gl_wayland.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/video/out/gl_wayland.c b/video/out/gl_wayland.c index a168c032c2..71b1d4270a 100644 --- a/video/out/gl_wayland.c +++ b/video/out/gl_wayland.c @@ -121,8 +121,6 @@ static bool egl_create_context(struct vo_wayland_state *wl, mpgl_load_functions(gl, (void*(*)(const GLubyte*))eglGetProcAddress, eglstr, wl->log); - if (!gl->BindProgram) - mpgl_load_functions(gl, NULL, eglstr, wl->log); return true; } -- cgit v1.2.3