vlc | branch: master | Romain Vimont <[email protected]> | Fri Apr 24 11:00:54 2020 +0200| [a4fbbd1c8ce18ebadafda30063b2b82df62c1abb] | committer: Alexandre Janniaux
opengl: remove unused code The glexts variable was never used in vlc_gl_interop_New(). Signed-off-by: Alexandre Janniaux <[email protected]> > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=a4fbbd1c8ce18ebadafda30063b2b82df62c1abb --- modules/video_output/opengl/interop.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/modules/video_output/opengl/interop.c b/modules/video_output/opengl/interop.c index a091a88703..8bd71110dc 100644 --- a/modules/video_output/opengl/interop.c +++ b/modules/video_output/opengl/interop.c @@ -34,14 +34,6 @@ vlc_gl_interop_New(struct vlc_gl_t *gl, const struct vlc_gl_api *api, vlc_video_context *context, const video_format_t *fmt, bool subpics) { - const char *glexts = (const char *) api->vt.GetString(GL_EXTENSIONS); - assert(glexts); - if (!glexts) - { - msg_Err(gl, "glGetString returned NULL"); - return NULL; - } - struct vlc_gl_interop *interop = vlc_object_create(gl, sizeof(*interop)); if (!interop) return NULL; _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
