From 24866ecb638957f88479fe179b287c74548206fb Mon Sep 17 00:00:00 2001 From: Adam Livesley Date: Thu, 29 Feb 2024 15:51:15 +0000 Subject: [PATCH] vulkan/context: fix naming of delegate method for metal layout --- video/out/vulkan/context_moltenvk.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/video/out/vulkan/context_moltenvk.m b/video/out/vulkan/context_moltenvk.m index 54932e27921e6..9a71c6dabc25d 100644 --- a/video/out/vulkan/context_moltenvk.m +++ b/video/out/vulkan/context_moltenvk.m @@ -30,7 +30,7 @@ @interface MetalLayerDelegate : NSObject - (id) initWithContext: (struct ra_ctx*) cxt; @end -@implementation MetalLayerDelegate : NSObject +@implementation MetalLayerDelegate - (id)initWithContext: (struct ra_ctx*) ctx { @@ -38,7 +38,7 @@ - (id)initWithContext: (struct ra_ctx*) ctx return self; } -- (void)layoutSublayers: (CALayer*) layer +- (void)layoutSublayersOfLayer: (CALayer*) layer { moltenvk_reconfig(_ra_ctx); }