SDL_RendererFlip flip = SDL_FLIP_HORIZONTAL | SDL_FLIP_VERTICAL; SDL_RenderCopyEx(renderer, texture, &srcrect, &dstrect, &angle, ¢er, flip);