mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-02-28 16:31:15 +00:00
Add version check to I_OpenURL
This commit is contained in:
parent
56a9a2044d
commit
d7661e50cf
1 changed files with 5 additions and 1 deletions
|
|
@ -1024,7 +1024,11 @@ boolean I_HasOpenURL()
|
|||
|
||||
void I_OpenURL(const char *data)
|
||||
{
|
||||
SDL_OpenURL(data);
|
||||
#if (SDL_VERSION_ATLEAST(2, 0, 14))
|
||||
SDL_OpenURL(data);
|
||||
#else
|
||||
return;
|
||||
#endif
|
||||
}
|
||||
|
||||
//
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue