Patched to compile.

This commit is contained in:
Ryan C. Gordon 2013-07-12 23:32:54 -04:00
parent 3d9b82d9f8
commit ae7a409acf

View file

@ -107,7 +107,7 @@ SDL_GLContext UIKit_GL_CreateContext(_THIS, SDL_Window * window)
EAGLSharegroup *share_group = nil;
if (_this->gl_config.share_with_current_context) {
share_group = [((SDL_uikitopenglview *) SDL_GL_GetCurrentContext() sharegroup];
share_group = [((SDL_uikitopenglview *) SDL_GL_GetCurrentContext()) sharegroup];
}
/* construct our view, passing in SDL's OpenGL configuration data */