mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-25 17:14:59 +02:00
fix compile issue if you don't have sdl2
This commit is contained in:
parent
156adb1a98
commit
45a5f1364a
1 changed files with 2 additions and 0 deletions
|
@ -74,9 +74,11 @@ SDL2Manager* SDL2Manager::getInstance() {
|
|||
}
|
||||
|
||||
void SDL2Manager::focusOutEvent() {
|
||||
#ifdef HAVE_SDL2
|
||||
for (auto joystick : _openJoysticks) {
|
||||
joystick->focusOutEvent();
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
void SDL2Manager::update() {
|
||||
|
|
Loading…
Reference in a new issue