diff --git a/video/out/vulkan/context_moltenvk.m b/video/out/vulkan/context_moltenvk.m index 03739d145aa98..3ff5f776b61f4 100644 --- a/video/out/vulkan/context_moltenvk.m +++ b/video/out/vulkan/context_moltenvk.m @@ -98,8 +98,8 @@ static bool moltenvk_init(struct ra_ctx *ctx) p->delegate = [[MetalLayerDelegate alloc] initWithContext: ctx]; p->layer.delegate = p->delegate; - MP_MSG(ctx, p->delegate, "### Set this delegate\n"); - MP_MSG(ctx, p->layer.delegate, "### Attached delegate to layer\n"); + MP_MSG(ctx, "### Set this delegate\n"); + MP_MSG(ctx, "### Attached delegate to layer\n"); return true; fail: @@ -112,7 +112,7 @@ static bool moltenvk_reconfig(struct ra_ctx *ctx) struct priv *p = ctx->priv; CGSize s = p->layer.drawableSize; ra_vk_ctx_resize(ctx, s.width, s.height); - MP_MSG(ctx, s.width, s.height, "### Called resize\n"); + MP_MSG(ctx, "Width: %f, Height: %f ### Called resize\n", s.width, s.height); return true; }