May 19, 2026
5:12 p.m.
Brendan Shanks (@bshanks) commented about dlls/winemac.drv/cocoa_window.m:
+ +@end + +@interface MetalViewSwapChain : NSObject <WineMetalSwapChain> +{ + macdrv_metal_device device; + macdrv_metal_view metal_view; +} + +- (id) initWithView:(macdrv_view)view; + +@end + +@implementation MetalViewSwapChain + +- (id) initWithView:(macdrv_view)view The return type here can be `instancetype`, it's a change we should make for existing code but might as well do it for new MRs.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/10935#note_140621