Patched to compile.
This commit is contained in:
parent
3d9b82d9f8
commit
ae7a409acf
1 changed files with 1 additions and 1 deletions
|
@ -107,7 +107,7 @@ SDL_GLContext UIKit_GL_CreateContext(_THIS, SDL_Window * window)
|
||||||
EAGLSharegroup *share_group = nil;
|
EAGLSharegroup *share_group = nil;
|
||||||
|
|
||||||
if (_this->gl_config.share_with_current_context) {
|
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 */
|
/* construct our view, passing in SDL's OpenGL configuration data */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue