- Actually fix for rendering on iOS ]:-> ios-revival
authorantonc27 <antonc27@mail.ru>
Mon, 10 Aug 2015 22:50:34 +0200
branchios-revival
changeset 11106 2953f858a196
parent 11105 379226b854ae
child 11107 553899c1ff78
- Actually fix for rendering on iOS ]:->
hedgewars/uStore.pas
--- 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}