Skip to content
Snippets Groups Projects
Commit d7661e50 authored by AJ Martinez's avatar AJ Martinez
Browse files

Add version check to I_OpenURL

parent 56a9a204
No related branches found
No related tags found
No related merge requests found
......@@ -1024,7 +1024,11 @@ boolean I_HasOpenURL()
void I_OpenURL(const char *data)
{
#if (SDL_VERSION_ATLEAST(2, 0, 14))
SDL_OpenURL(data);
#else
return;
#endif
}
//
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment