|
|
@ -965,6 +965,7 @@ static GLFWbool createWindow(_GLFWwindow* window, |
|
|
|
[window->ns.view setWantsBestResolutionOpenGLSurface:YES]; |
|
|
|
[window->ns.view setWantsBestResolutionOpenGLSurface:YES]; |
|
|
|
#endif /*_GLFW_USE_RETINA*/ |
|
|
|
#endif /*_GLFW_USE_RETINA*/ |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[window->ns.object makeFirstResponder:window->ns.view]; |
|
|
|
[window->ns.object setTitle:[NSString stringWithUTF8String:wndconfig->title]]; |
|
|
|
[window->ns.object setTitle:[NSString stringWithUTF8String:wndconfig->title]]; |
|
|
|
[window->ns.object setDelegate:window->ns.delegate]; |
|
|
|
[window->ns.object setDelegate:window->ns.delegate]; |
|
|
|
[window->ns.object setAcceptsMouseMovedEvents:YES]; |
|
|
|
[window->ns.object setAcceptsMouseMovedEvents:YES]; |
|
|
|