mirror of
https://github.com/ddnet/ddnet.git
synced 2024-09-20 09:34:19 +00:00
Fix Mac OSX compilation
This commit is contained in:
parent
3730e19b5c
commit
f1cca50695
|
@ -687,7 +687,7 @@ void CGraphicsBackend_SDL_OpenGL::NotifyWindow()
|
|||
desc.dwTimeout = 0;
|
||||
|
||||
FlashWindowEx(&desc);
|
||||
#elif defined(SDL_VIDEO_DRIVER_X11)
|
||||
#elif defined(SDL_VIDEO_DRIVER_X11) && !defined(CONF_PLATFORM_MACOSX)
|
||||
Display *dpy = info.info.x11.display;
|
||||
Window win;
|
||||
if(m_pScreenSurface->flags & SDL_FULLSCREEN)
|
||||
|
|
|
@ -994,7 +994,7 @@ void CGraphics_SDL::NotifyWindow()
|
|||
desc.dwTimeout = 0;
|
||||
|
||||
FlashWindowEx(&desc);
|
||||
#elif defined(SDL_VIDEO_DRIVER_X11)
|
||||
#elif defined(SDL_VIDEO_DRIVER_X11) && !defined(CONF_PLATFORM_MACOSX)
|
||||
Display *dpy = info.info.x11.display;
|
||||
Window win;
|
||||
if(m_pScreenSurface->flags & SDL_FULLSCREEN)
|
||||
|
|
Loading…
Reference in a new issue