title: Resize SDL2 window?
body: <p>Just made the jump from SDL1.2 to SDL2, been converting my code but couldn't figure out how to resize the window. Here's the code I have now:</p>
  
  <pre class="lang-c prettyprint-override"><code>SDL_DestroyWindow(Window);
  Window = SDL_CreateWindow("Test", SDL_WINDOWPOS_UNDEFINED, SDL_WINDOWPOS_UNDEFINED, ScreenSizeX, ScreenSizeY, SDL_WINDOW_SHOWN);
  screen = SDL_GetWindowSurface(Window);
  </code></pre>
  
  <p>Which as you can see just destroys the window and creates a new one. Sloppy but it works. What I want is to just resize the window, is it possible?</p>