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