equal
deleted
inserted
replaced
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} |