diff options
author | wm4 <wm4@nowhere> | 2014-05-31 22:00:06 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-05-31 22:00:06 +0200 |
commit | caf35e695fbad263520e89ea1bd6be424c7e25ec (patch) | |
tree | 8f353a366c432d9f04791bcb086d1dfcf03ea413 /video | |
parent | c42ac83c7c9d942649645d5985861ff59db155eb (diff) | |
download | mpv-caf35e695fbad263520e89ea1bd6be424c7e25ec.tar.bz2 mpv-caf35e695fbad263520e89ea1bd6be424c7e25ec.tar.xz |
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.
Diffstat (limited to 'video')
-rw-r--r-- | video/out/gl_wayland.c | 2 |
1 files changed, 0 insertions, 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; } |