mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-01-26 21:36:26 +00:00
(OSX) Simplify NSScreen - bounds
This commit is contained in:
parent
c49e9b51af
commit
6670766bb6
@ -49,9 +49,8 @@
|
||||
@implementation NSScreen (IOSCompat)
|
||||
- (CGRect)bounds
|
||||
{
|
||||
CGRect rect_width = NSRectToCGRect(self.frame);
|
||||
CGRect rect_height = NSRectToCGRect(self.frame);
|
||||
return CGRectMake(0, 0, CGRectGetWidth(rect_width), CGRectGetHeight(rect_height));
|
||||
CGRect cgrect = NSRectToCGRect(self.frame);
|
||||
return CGRectMake(0, 0, CGRectGetWidth(cgrect), CGRectGetHeight(cgrect));
|
||||
}
|
||||
- (float) scale { return 1.0f; }
|
||||
@end
|
||||
|
Loading…
x
Reference in New Issue
Block a user