mirror of
https://github.com/libretro/RetroArch
synced 2025-02-04 03:40:03 +00:00
Do not include SDL_syswm.h on OSX as it breaks.
This commit is contained in:
parent
d4754f4c6c
commit
8663c1f009
@ -399,6 +399,7 @@ void gfx_ctx_check_window(bool *quit,
|
||||
#endif
|
||||
}
|
||||
|
||||
#ifndef __APPLE__
|
||||
bool gfx_ctx_get_wm_info(SDL_SysWMinfo *info)
|
||||
{
|
||||
#ifdef XENON
|
||||
@ -415,6 +416,7 @@ bool gfx_ctx_get_wm_info(SDL_SysWMinfo *info)
|
||||
return SDL_GetWMInfo(info) == 1;
|
||||
#endif
|
||||
}
|
||||
#endif
|
||||
|
||||
bool gfx_ctx_window_has_focus(void)
|
||||
{
|
||||
|
@ -33,7 +33,7 @@
|
||||
#define VID_HANDLE xdk_d3d_video_t
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_SDL
|
||||
#if defined(HAVE_SDL) && !defined(__APPLE__)
|
||||
#include "SDL_syswm.h"
|
||||
#endif
|
||||
|
||||
@ -56,7 +56,7 @@ void gfx_ctx_check_window(bool *quit,
|
||||
|
||||
void gfx_ctx_set_resize(unsigned width, unsigned height);
|
||||
|
||||
#ifdef HAVE_SDL
|
||||
#if defined(HAVE_SDL) && !defined(__APPLE__)
|
||||
bool gfx_ctx_get_wm_info(SDL_SysWMinfo *info);
|
||||
#endif
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user