API SDL2 предоставляет функцию SDL_ConvertSurface : SDL_Surface* SDL_ConvertSurface(SDL_Surface* src, const SDL_PixelFormat* fmt, Uint32 flags).
確定! 回上一頁