summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-05-31 22:00:06 +0200
committerwm4 <wm4@nowhere>2014-05-31 22:00:06 +0200
commitcaf35e695fbad263520e89ea1bd6be424c7e25ec (patch)
tree8f353a366c432d9f04791bcb086d1dfcf03ea413
parentc42ac83c7c9d942649645d5985861ff59db155eb (diff)
downloadmpv-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.
-rw-r--r--video/out/gl_wayland.c2
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;
}