Bump minimum SDL version to 2.0.9

This commit is contained in:
Miku AuahDark
2022-12-06 14:14:30 +08:00
parent 72fca1c2da
commit 93612a84d1
5 changed files with 2 additions and 20 deletions
-2
View File
@@ -374,7 +374,6 @@ Message *Event::convert(const SDL_Event &e)
case SDL_WINDOWEVENT:
msg = convertWindowEvent(e);
break;
#if SDL_VERSION_ATLEAST(2, 0, 9)
case SDL_DISPLAYEVENT:
if (e.display.event == SDL_DISPLAYEVENT_ORIENTATION)
{
@@ -408,7 +407,6 @@ Message *Event::convert(const SDL_Event &e)
msg = new Message("displayrotated", vargs);
}
break;
#endif
case SDL_DROPFILE:
filesystem = Module::getInstance<filesystem::Filesystem>(Module::M_FILESYSTEM);
if (filesystem != nullptr)