CIrrDeviceMacOSX::setWindowSizeCIrrDeviceMacOSX::restoreWindow and implement CIrrDeviceMacOSX::maximizeWindowrestoreWindow correctly restore the window from the zoomed (similar to Windows maximization) state.CreationParams.Fullscreen is always the former, while fullscreen entered by clicking the green title-bar button is the latter. In the former mode, the user cannot switch back to windowed mode directly, while in the latter mode they can.restoreWindow should not have any effect in fullscreen mode; otherwise, the window may shrink without actually leaving fullscreen.CIrrDeviceMacOSX::Display initializationCIrrDelegateOSXCIrrDeviceMacOSX::initKeycodessnprintf_irr in CProfiler
Thanks for the patches! I've applied the first 9. The last is a bit confusing - if GL_VERSION_3_2 is not defined then those defines should not be used (so also should not be missing anywhere). And when you have GL_VERSION_3_2 they should already exist. Adding them despite not having GL_VERSION_3_2 sounds wrong. Does Irrlicht use them somewhere and misses the GL_VERSION_3_2 check maybe?
Last edit: Michael Zeilfelder 4 days ago
I haven’t investigated it in depth. The compilation error on macOS is:
and the same macro in
COpenGLCoreCacheHandler.h.(
_IRR_OPENGL_USE_EXTPOINTER_is off as default.)Thanks, I indeed forgot to check version in a few places for that one. I hope [r6823] fixes all those
Related
Commit: [r6823]
https://github.com/mercury233/irrlicht/commit/d6be544411e29840feeb488eb7dd4a26f57ea18d
https://github.com/mercury233/irrlicht/commit/41d4457af2412a85e900f2127919ed4de3d98a5d
Those files need to be fixed too.
Thank you, I should have seen those.