Thanks to @Hugobros3's help, here are few changes that I was able to launch CS on OS X (10.11). However, since the lack of knowledge about how Kotlin works, I wasn't able to fully finish the task. I would suggest adding a command line argument, or detect manually via OsHelper to enable/disable OpenGL's debug mode and remove GL_ARB_debug_output extension from the required extension list in case of disabling it.
Thanks to @Hugobros3's help, here are few changes that I was able to launch CS on OS X (10.11). However, since the lack of knowledge about how Kotlin works, I wasn't able to fully finish the task. I would suggest adding a command line argument, or detect manually via
OsHelper
to enable/disable OpenGL's debug mode and removeGL_ARB_debug_output
extension from the required extension list in case of disabling it.