GLFW Mac OS X 10.7 Quit is a nop
Monkey Forums/Monkey Programming/GLFW Mac OS X 10.7 Quit is a nop
| ||
GLFW target on Mac OS X 10.7 (I haven't tried 10.8) does not quit on cmd-Q nor upon selecting the Quit item from the File menu. This is for v68b. Thanks |
| ||
You now have to manually check for 'close' clicks in glfw - eg:Method OnUpdate() If KeyHit( KEY_CLOSE ) Error "" ...etc... End |
| ||
For new user Error "" is pretty strange to close the application, maybe wrap it with a user friendly-named function (eg ExitApp / CloseApp):Function ExitApp:Void() Error "" End So the above would become: Method OnUpdate() If KeyHit( KEY_CLOSE ) ExitApp() ...etc... End |