mirror of https://github.com/encounter/SDL.git
Check the return value of SDL_EVDEV_Init()
This commit is contained in:
parent
38854e0333
commit
c16dd74f3b
|
@ -183,7 +183,9 @@ RPI_VideoInit(_THIS)
|
|||
SDL_AddVideoDisplay(&display);
|
||||
|
||||
#ifdef SDL_INPUT_LINUXEV
|
||||
SDL_EVDEV_Init();
|
||||
if (SDL_EVDEV_Init() < 0) {
|
||||
return -1;
|
||||
}
|
||||
#endif
|
||||
|
||||
RPI_InitMouse(_this);
|
||||
|
|
Loading…
Reference in New Issue