(SDL2) Do not restrict the user to the SDL2 input driver

This commit is contained in:
Higor Eurípedes 2014-09-04 11:40:18 -03:00
parent a01e43cc6d
commit f2a3a4df95

View File

@ -433,20 +433,8 @@ static void *sdl2_gfx_init(const video_info_t *video, const input_driver_t **inp
sdl2_gfx_set_handles(vid);
if (input && input_data)
{
void *sdl_input = input_sdl.init();
if (sdl_input)
{
*input = &input_sdl;
*input_data = sdl_input;
}
else
{
*input = NULL;
*input_data = NULL;
}
}
*input = NULL;
*input_data = NULL;
return vid;