mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-18 08:18:07 +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…
Reference in New Issue
Block a user