fix compile issue if you don't have sdl2

This commit is contained in:
Sam Gondelman 2015-06-17 11:56:44 -07:00
parent 156adb1a98
commit 45a5f1364a

View file

@ -74,9 +74,11 @@ SDL2Manager* SDL2Manager::getInstance() {
}
void SDL2Manager::focusOutEvent() {
#ifdef HAVE_SDL2
for (auto joystick : _openJoysticks) {
joystick->focusOutEvent();
}
#endif
}
void SDL2Manager::update() {