mirror of
https://github.com/mpv-player/mpv.git
synced 2026-10-29 07:06:59 +08: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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user