Added ccGLMakeCurrent to enable context switching