title: SDL window does not show
body: <p>This is my code:</p>
  
  <pre><code>#include &lt;iostream&gt;
  #include &lt;SDL2/SDL.h&gt;
  
  int main(int argc, const char * argv[]) {
  
  SDL_Init(SDL_INIT_VIDEO);
  
  SDL_Window *_window;
  _window = SDL_CreateWindow("Game Engine", SDL_WINDOWPOS_CENTERED, SDL_WINDOWPOS_CENTERED, 700, 500, SDL_WINDOW_RESIZABLE);
  
  SDL_Delay(20000);
  
  SDL_DestroyWindow(_window);
  SDL_Quit();
  
  return 0;
  
  }
  </code></pre>
  
  <p>Im working in Xcode. I've downloaded SDL2 and imported the library to the projects build phases. I've tested that the SDL2 works correctly. </p>
  
  <p>The problem is that window never shows up. I just get a "spinning-mac-wheel" and then the program quits after the delay. I've made sure that the window is not hidden behind somewhere.</p>
  
  <p>Ideas?</p>