From f8fef2e3cccd70bd6a96908d46cdb361f94a06c1 Mon Sep 17 00:00:00 2001 From: Adam Livesley Date: Tue, 13 Feb 2024 15:58:15 +0000 Subject: [PATCH] fixup! vulkan/context: resize context when layout is changed --- video/out/vulkan/context_moltenvk.m | 1 + 1 file changed, 1 insertion(+) diff --git a/video/out/vulkan/context_moltenvk.m b/video/out/vulkan/context_moltenvk.m index 01887e195f057..54d6a8e82e364 100644 --- a/video/out/vulkan/context_moltenvk.m +++ b/video/out/vulkan/context_moltenvk.m @@ -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: