Skip to content

Commit

Permalink
vulkan/context: fix naming of delegate method for metal layout
Browse files Browse the repository at this point in the history
  • Loading branch information
sixones committed Feb 29, 2024
1 parent 589c52b commit 24866ec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions video/out/vulkan/context_moltenvk.m
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,15 @@ @interface MetalLayerDelegate : NSObject<CALayerDelegate>
- (id) initWithContext: (struct ra_ctx*) cxt;
@end

@implementation MetalLayerDelegate : NSObject
@implementation MetalLayerDelegate

- (id)initWithContext: (struct ra_ctx*) ctx
{
_ra_ctx = ctx;
return self;
}

- (void)layoutSublayers: (CALayer*) layer
- (void)layoutSublayersOfLayer: (CALayer*) layer
{
moltenvk_reconfig(_ra_ctx);
}
Expand Down

0 comments on commit 24866ec

Please sign in to comment.