Skip to content

Commit

Permalink
fixup! vulkan/context: resize context when layout is changed
Browse files Browse the repository at this point in the history
  • Loading branch information
sixones committed Feb 13, 2024
1 parent be6be5e commit f8fef2e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions video/out/vulkan/context_moltenvk.m
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ static bool moltenvk_init(struct ra_ctx *ctx)
goto fail;

p->delegate = [[MetalLayerDelegate alloc] initWithContext: ctx];
p->layer.delegate = p->delegate;

return true;
fail:
Expand Down

0 comments on commit f8fef2e

Please sign in to comment.