input_common: Fix build with sdl disabled
This commit is contained in:
parent
7dca756f30
commit
289f59dabd
|
@ -294,8 +294,8 @@ void InputSubsystem::ReloadInputDevices() {
|
||||||
impl->udp->ReloadSockets();
|
impl->udp->ReloadSockets();
|
||||||
}
|
}
|
||||||
|
|
||||||
std::vector<std::unique_ptr<Polling::DevicePoller>> InputSubsystem::GetPollers(
|
std::vector<std::unique_ptr<Polling::DevicePoller>> InputSubsystem::GetPollers([
|
||||||
Polling::DeviceType type) const {
|
[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…
Reference in a new issue