Ticket #2851: 2851.diff

File 2851.diff, 472 bytes (added by trompetin17, 9 years ago)
  • source/ps/VideoMode.cpp

     
    7474#if SDL_VERSION_ATLEAST(2, 0, 0)
    7575    Uint32 flags = 0;
    7676    if (fullscreen)
     77#if OS_MACOSX
     78        flags |= SDL_WINDOW_FULLSCREEN;
     79#else
    7780        flags |= SDL_WINDOW_FULLSCREEN_DESKTOP;
    78 
     81#endif
     82   
    7983    if (!m_Window)
    8084    {
    8185        // Note: these flags only take affect in SDL_CreateWindow