mirror of
https://github.com/libretro/bsnes-libretro.git
synced 2024-12-03 15:20:52 +00:00
19 lines
381 B
Objective-C
19 lines
381 B
Objective-C
#import <Cocoa/Cocoa.h>
|
|
|
|
@interface GBOptionalVisualEffectView : NSView
|
|
|
|
@end
|
|
|
|
@implementation GBOptionalVisualEffectView
|
|
|
|
+ (instancetype)allocWithZone:(struct _NSZone *)zone
|
|
{
|
|
Class NSVisualEffectView = NSClassFromString(@"NSVisualEffectView");
|
|
if (NSVisualEffectView) {
|
|
return (id)[NSVisualEffectView alloc];
|
|
}
|
|
return [super allocWithZone:zone];
|
|
}
|
|
|
|
@end
|