|
|
@ -160,6 +160,7 @@ static int translateKey(unsigned int key) |
|
|
|
|
|
|
|
|
|
|
|
- (void)windowDidResize:(NSNotification *)notification |
|
|
|
- (void)windowDidResize:(NSNotification *)notification |
|
|
|
{ |
|
|
|
{ |
|
|
|
|
|
|
|
if (window->context.api != GLFW_NO_API) |
|
|
|
[window->nsgl.context update]; |
|
|
|
[window->nsgl.context update]; |
|
|
|
|
|
|
|
|
|
|
|
if (_glfw.cursorWindow == window && |
|
|
|
if (_glfw.cursorWindow == window && |
|
|
@ -177,6 +178,7 @@ static int translateKey(unsigned int key) |
|
|
|
|
|
|
|
|
|
|
|
- (void)windowDidMove:(NSNotification *)notification |
|
|
|
- (void)windowDidMove:(NSNotification *)notification |
|
|
|
{ |
|
|
|
{ |
|
|
|
|
|
|
|
if (window->context.api != GLFW_NO_API) |
|
|
|
[window->nsgl.context update]; |
|
|
|
[window->nsgl.context update]; |
|
|
|
|
|
|
|
|
|
|
|
if (_glfw.cursorWindow == window && |
|
|
|
if (_glfw.cursorWindow == window && |
|
|
|