title: SDL2 - Why does SDL_CreateTextureFromSurface() need a renderer*?
body: <p>This is the syntax of the SDL_CreateTextureFromSurface function:</p>
  
  <pre><code>SDL_Texture* SDL_CreateTextureFromSurface(SDL_Renderer* renderer, SDL_Surface*  surface)
  </code></pre>
  
  <p>However, I'm confused why we need to pass a renderer*? I thought we need a renderer* only when drawing the texture?</p>