Skip to content

Commit

Permalink
vulkan/context: fix temporary log
Browse files Browse the repository at this point in the history
  • Loading branch information
themisterholliday committed Feb 29, 2024
1 parent 3b1ffe0 commit b1859c6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions video/out/vulkan/context_moltenvk.m
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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;
}

Expand Down

0 comments on commit b1859c6

Please sign in to comment.