mirror of
https://github.com/glfw/glfw.git
synced 2024-11-10 00:51:47 +00: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