mirror of
https://github.com/glfw/glfw.git
synced 2026-09-20 08:23:13 +00:00
+4
-4
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user