Merge pull request #5149 from SamGondelman/master

fix compile issue if you don't have sdl2
This commit is contained in:
Ryan Huffman 2015-06-17 12:33:10 -07:00
commit 220a78eede

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() {