mirror of
https://github.com/gwm17/glfw.git
synced 2025-02-06 22:28:51 -05:00
parent
244d6d7823
commit
018ae69b33
|
@ -423,10 +423,10 @@ static const NSRange kEmptyRange = { NSNotFound, 0 };
|
|||
|
||||
- (id)makeBackingLayer
|
||||
{
|
||||
if (!window->ns.layer) {
|
||||
window->ns.layer = [super makeBackingLayer];
|
||||
}
|
||||
return window->ns.layer;
|
||||
if (window->ns.layer)
|
||||
return window->ns.layer;
|
||||
|
||||
return [super makeBackingLayer];
|
||||
}
|
||||
|
||||
- (void)cursorUpdate:(NSEvent *)event
|
||||
|
|
Loading…
Reference in New Issue
Block a user