mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +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;
|
desc.dwTimeout = 0;
|
||||||
|
|
||||||
FlashWindowEx(&desc);
|
FlashWindowEx(&desc);
|
||||||
#elif defined(SDL_VIDEO_DRIVER_X11)
|
#elif defined(SDL_VIDEO_DRIVER_X11) && !defined(CONF_PLATFORM_MACOSX)
|
||||||
Display *dpy = info.info.x11.display;
|
Display *dpy = info.info.x11.display;
|
||||||
Window win;
|
Window win;
|
||||||
if(m_pScreenSurface->flags & SDL_FULLSCREEN)
|
if(m_pScreenSurface->flags & SDL_FULLSCREEN)
|
||||||
|
|
|
@ -994,7 +994,7 @@ void CGraphics_SDL::NotifyWindow()
|
||||||
desc.dwTimeout = 0;
|
desc.dwTimeout = 0;
|
||||||
|
|
||||||
FlashWindowEx(&desc);
|
FlashWindowEx(&desc);
|
||||||
#elif defined(SDL_VIDEO_DRIVER_X11)
|
#elif defined(SDL_VIDEO_DRIVER_X11) && !defined(CONF_PLATFORM_MACOSX)
|
||||||
Display *dpy = info.info.x11.display;
|
Display *dpy = info.info.x11.display;
|
||||||
Window win;
|
Window win;
|
||||||
if(m_pScreenSurface->flags & SDL_FULLSCREEN)
|
if(m_pScreenSurface->flags & SDL_FULLSCREEN)
|
||||||
|
|
Loading…
Reference in a new issue