hedgewars/uStore.pas
branchhedgeroid
changeset 5667 24f4d7a37038
parent 5644 4ad07103cfae
child 5725 e27100a0e2d0
equal deleted inserted replaced
5665:8805f3167058 5667:24f4d7a37038
   575     SDLGLcontext:=SDL_GL_CreateContext(SDLwindow);
   575     SDLGLcontext:=SDL_GL_CreateContext(SDLwindow);
   576     SDLTry(SDLGLcontext <> nil, true);
   576     SDLTry(SDLGLcontext <> nil, true);
   577     SDL_GL_SetSwapInterval(1);
   577     SDL_GL_SetSwapInterval(1);
   578 {$ENDIF}
   578 {$ENDIF}
   579 
   579 
   580 {$IFDEF IHPONE}
   580 {$IFDEF IPHONEOS}
   581     SDL_GL_SetAttribute(SDL_GL_DOUBLEBUFFER, 0);
   581     SDL_GL_SetAttribute(SDL_GL_DOUBLEBUFFER, 0);
   582     SDL_GL_SetAttribute(SDL_GL_RETAINED_BACKING, 1);
   582     SDL_GL_SetAttribute(SDL_GL_RETAINED_BACKING, 1);
   583     vendor:= vendor; // avoid hint
   583     vendor:= vendor; // avoid hint
   584     one:= one; // avoid hint
   584     one:= one; // avoid hint
   585 {$ELSE}
   585 {$ELSE}