Surface.adaptTo

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

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

Meta