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); }