mirror of
https://github.com/libretro/RetroArch
synced 2025-01-25 15:35:29 +00:00
Allow SDL driver to work as well in 1.3.
This commit is contained in:
parent
7da7ab2ce7
commit
e8bd64e898
@ -286,7 +286,10 @@ void sdlwrap_check_window(bool *quit,
|
||||
bool sdlwrap_get_wm_info(SDL_SysWMinfo *info)
|
||||
{
|
||||
#if SDL_MODERN
|
||||
return SDL_GetWindowWMInfo(g_window, info);
|
||||
if (g_window)
|
||||
return SDL_GetWindowWMInfo(g_window, info);
|
||||
else
|
||||
return SDL_GetWMInfo(info) == 1;
|
||||
#else
|
||||
return SDL_GetWMInfo(info) == 1;
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user