Implemented SDL_GL_SHARE_WITH_CURRENT_CONTEXT for Mac OS X.