vlc | branch: master | Niklas Haas <[email protected]> | Fri Sep 28 19:18:44 2018 +0200| [b90995ef08c2d72a0222c527e1ef3d586d00bccd] | committer: Thomas Guillem
vout_opengl: update for libplacebo 0.6 API This removed a superfluous field from the pl_shader_alloc signature. Signed-off-by: Thomas Guillem <[email protected]> > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=b90995ef08c2d72a0222c527e1ef3d586d00bccd --- modules/video_output/opengl/vout_helper.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/modules/video_output/opengl/vout_helper.c b/modules/video_output/opengl/vout_helper.c index 33f738f579..89fc1ae9c7 100644 --- a/modules/video_output/opengl/vout_helper.c +++ b/modules/video_output/opengl/vout_helper.c @@ -629,8 +629,13 @@ opengl_init_program(vout_display_opengl_t *vgl, struct prgm *prgm, .log_priv = tc, .log_level = PL_LOG_INFO, }); - if (tc->pl_ctx) + if (tc->pl_ctx) { +# if PL_API_VER >= 6 + tc->pl_sh = pl_shader_alloc(tc->pl_ctx, NULL, 0); +# else tc->pl_sh = pl_shader_alloc(tc->pl_ctx, NULL, 0, 0); +# endif + } } #endif _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
