From c720bce8a9cccec017e0da3869e9be71489bb1c8 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Thu, 26 Nov 2015 02:29:43 +0100 Subject: [PATCH] Update variable name/buildfix --- gfx/drivers/sdl_gfx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gfx/drivers/sdl_gfx.c b/gfx/drivers/sdl_gfx.c index 3ff4f1fab8..e6c6e979c5 100644 --- a/gfx/drivers/sdl_gfx.c +++ b/gfx/drivers/sdl_gfx.c @@ -467,7 +467,7 @@ static void sdl_set_aspect_ratio(void *data, unsigned aspect_ratio_idx) if (cmd != RARCH_DISPLAY_CTL_NONE) video_driver_ctl(cmd, NULL); - video_driver_set_aspect_ratio_value(aspectratio_lut[aspectratio_index].value); + video_driver_set_aspect_ratio_value(aspectratio_lut[aspect_ratio_idx].value); } static void sdl_apply_state_changes(void *data)