1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-25 00:02:13 +00:00

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.
This commit is contained in:
wm4 2014-05-31 22:00:06 +02:00
parent c42ac83c7c
commit caf35e695f

View File

@ -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;
}