title: SDL_GetWindowSurface with SDL_CreateRenderer
body: <p>Im programming a game with SDL2 in C++.</p>
  
  <p>I want to use SDL_GetWindowSurface and SDL_CreateRenderer in this game, if I use only one of them, its works, but if I try to use both of them, the game crashes.</p>
  
  <p>I think that this two functions don´t work if both are active.</p>
  
  <p>Can this be the problem?</p>