mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2025-01-31 00:09:19 +01:00
Fixed crash if the event subsystem didn't initialize properly
This commit is contained in:
parent
20a6c623c3
commit
639b39c46c
@ -584,6 +584,10 @@ SDL_EVDEV_Poll(void)
|
||||
Uint32 kval;
|
||||
#endif
|
||||
|
||||
if (!_this) {
|
||||
return;
|
||||
}
|
||||
|
||||
#if SDL_USE_LIBUDEV
|
||||
SDL_UDEV_Poll();
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user