hedgewars/uStore.pas
branchios-revival
changeset 11106 2953f858a196
parent 11100 c348a8afff6e
child 11151 5c40c65b619d
--- 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}