From 778c9a25d632de4a2537c2c6a203fda5b99126cc Mon Sep 17 00:00:00 2001 From: twinaphex Date: Sun, 29 Nov 2015 19:03:23 +0100 Subject: [PATCH] Remove another call to driver->input from inside --- gfx/video_driver.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gfx/video_driver.c b/gfx/video_driver.c index e2e75d61cb..c45fc20699 100644 --- a/gfx/video_driver.c +++ b/gfx/video_driver.c @@ -712,7 +712,7 @@ static bool init_video(void) video_state.filter.out_rgb32 : (video_state.pix_fmt == RETRO_PIXEL_FORMAT_XRGB8888); - tmp = (const input_driver_t*)driver->input; + tmp = input_get_ptr(); /* Need to grab the "real" video driver interface on a reinit. */ video_driver_ctl(RARCH_DISPLAY_CTL_FIND_DRIVER, NULL);