mirror of
https://github.com/overte-org/overte.git
synced 2025-08-11 05:28:41 +02:00
Merge pull request #5149 from SamGondelman/master
fix compile issue if you don't have sdl2
This commit is contained in:
commit
220a78eede
1 changed files with 2 additions and 0 deletions
|
@ -74,9 +74,11 @@ SDL2Manager* SDL2Manager::getInstance() {
|
||||||
}
|
}
|
||||||
|
|
||||||
void SDL2Manager::focusOutEvent() {
|
void SDL2Manager::focusOutEvent() {
|
||||||
|
#ifdef HAVE_SDL2
|
||||||
for (auto joystick : _openJoysticks) {
|
for (auto joystick : _openJoysticks) {
|
||||||
joystick->focusOutEvent();
|
joystick->focusOutEvent();
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
void SDL2Manager::update() {
|
void SDL2Manager::update() {
|
||||||
|
|
Loading…
Reference in a new issue