mirror of
https://github.com/glfw/glfw.git
synced 2025-04-06 22:15:06 +00:00
parent
244d6d7823
commit
018ae69b33
1 changed files with 4 additions and 4 deletions
|
@ -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…
Add table
Reference in a new issue