Browse Source

Merge pull request #6593 from german77/no_sdl

input_common: Fix build with SDL disabled
nce_cpp
bunnei 5 years ago
committed by GitHub
parent
commit
e6053e71b7
  1. 4
      src/input_common/main.cpp

4
src/input_common/main.cpp

@ -294,8 +294,8 @@ void InputSubsystem::ReloadInputDevices() {
impl->udp->ReloadSockets(); impl->udp->ReloadSockets();
} }
std::vector<std::unique_ptr<Polling::DevicePoller>> InputSubsystem::GetPollers(
Polling::DeviceType type) const {
std::vector<std::unique_ptr<Polling::DevicePoller>> InputSubsystem::GetPollers([
[maybe_unused]] Polling::DeviceType type) const {
#ifdef HAVE_SDL2 #ifdef HAVE_SDL2
return impl->sdl->GetPollers(type); return impl->sdl->GetPollers(type);
#else #else

Loading…
Cancel
Save