Cocoa Port: Disable the default clipping feature in display views as a micro optimization.
This commit is contained in:
parent
522a4e25d1
commit
ee306a9f07
|
@ -1885,6 +1885,11 @@ static std::unordered_map<NSScreen *, DisplayWindowController *> _screenMap; //
|
|||
return YES;
|
||||
}
|
||||
|
||||
- (BOOL)wantsDefaultClipping
|
||||
{
|
||||
return NO;
|
||||
}
|
||||
|
||||
- (void)lockFocus
|
||||
{
|
||||
[super lockFocus];
|
||||
|
|
Loading…
Reference in New Issue