Patched to compile.
authorRyan C. Gordon <icculus@icculus.org>
Fri, 12 Jul 2013 23:32:54 -0400
changeset 7424 1644ff584b17
parent 7423 dfe7ad02f008
child 7425 e918739b115e
Patched to compile.
src/video/uikit/SDL_uikitopengles.m
--- a/src/video/uikit/SDL_uikitopengles.m	Fri Jul 12 23:30:26 2013 -0400
+++ b/src/video/uikit/SDL_uikitopengles.m	Fri Jul 12 23:32:54 2013 -0400
@@ -107,7 +107,7 @@
     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 */