mirror of
https://github.com/mpv-player/mpv.git
synced 2024-09-20 12:02:23 +02:00
vo_gpu: vulkan: print libplacebo API ver
This normally gets printed by libplacebo itself when initializing the context, but due to the way our code is structured (for convenience) we don't have the log hook enabled by the time this function call is relevant. So instead just print it manually as an easier work-around than restructuring the code.
This commit is contained in:
parent
2a89da0c85
commit
96cdf5315e
@ -9,6 +9,7 @@ bool mpvk_init(struct mpvk_ctx *vk, struct ra_ctx *ctx, const char *surface_ext)
|
||||
|
||||
vk->pl_log = mp_log_new(ctx, ctx->log, "libplacebo");
|
||||
mppl_ctx_set_log(vk->ctx, vk->pl_log, true);
|
||||
mp_verbose(vk->pl_log, "Initialized libplacebo v%d\n", PL_API_VER);
|
||||
|
||||
const char *exts[] = {
|
||||
VK_KHR_SURFACE_EXTENSION_NAME,
|
||||
|
Loading…
Reference in New Issue
Block a user