This commit is contained in:
twinaphex 2015-12-10 20:07:10 +01:00
parent 800b62e458
commit 201f3e780a

View File

@ -972,12 +972,9 @@ static int menu_displaylist_parse_shader_options(menu_displaylist_info_t *info)
{
unsigned i;
struct video_shader *shader = NULL;
menu_handle_t *menu = menu_driver_get_ptr();
if (!menu)
return -1;
shader = menu->shader;
menu_driver_ctl(RARCH_MENU_CTL_SHADER_GET,
&shader);
if (!shader)
return -1;