vlc/vlc-3.0 | branch: master | Niklas Haas <[email protected]> | Mon May 6 09:56:38 2019 +0200| [3819f0bc442533a70af78fe10eab0edf4358e058] | committer: Konstantin Pavlov
opengl: update libplacebo call for changed API This will be the last time a change to this signature is needed, since we just switched to using a params struct rather than updating the signature constantly. Signed-off-by: Thomas Guillem <[email protected]> (cherry picked from commit 24dc03640d3cfd89aa87ce63929aba17911c4b85) Signed-off-by: Konstantin Pavlov <[email protected]> > http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=3819f0bc442533a70af78fe10eab0edf4358e058 --- modules/video_output/opengl/vout_helper.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/modules/video_output/opengl/vout_helper.c b/modules/video_output/opengl/vout_helper.c index 80b71ac858..62cb7e92a3 100644 --- a/modules/video_output/opengl/vout_helper.c +++ b/modules/video_output/opengl/vout_helper.c @@ -628,7 +628,9 @@ opengl_init_program(vout_display_opengl_t *vgl, struct prgm *prgm, .log_level = PL_LOG_INFO, }); if (tc->pl_ctx) { -# if PL_API_VER >= 6 +# if PL_API_VER >= 20 + tc->pl_sh = pl_shader_alloc(tc->pl_ctx, NULL); +# elif 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); _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
