author | antonc27 <antonc27@mail.ru> |
Mon, 10 Aug 2015 22:50:34 +0200 | |
branch | ios-revival |
changeset 11106 | 2953f858a196 |
parent 11105 | 379226b854ae |
child 11107 | 553899c1ff78 |
--- a/hedgewars/uStore.pas Mon Aug 10 22:49:52 2015 +0200 +++ b/hedgewars/uStore.pas Mon Aug 10 22:50:34 2015 +0200 @@ -723,6 +723,9 @@ {$IFDEF IPHONEOS} SDL_GL_SetAttribute(SDL_GL_DOUBLEBUFFER, 0); SDL_GL_SetAttribute(SDL_GL_RETAINED_BACKING, 1); + + SDL_GL_SetAttribute(SDL_GL_CONTEXT_MAJOR_VERSION, 1); + SDL_GL_SetAttribute(SDL_GL_CONTEXT_MINOR_VERSION, 1); {$ELSE} SDL_GL_SetAttribute(SDL_GL_DOUBLEBUFFER, 1); {$ENDIF}