Surface.adaptTo

Use this function to adapt the format of another Surface to this surface. Works like <code>SLD_DisplayFormat</code>.

  1. void adaptTo(Surface srfc)
  2. void adaptTo(SDL_PixelFormat* fmt)
    struct Surface
    void
    adaptTo
    (
    SDL_PixelFormat* fmt
    )

Meta