Don't show the pipeline option it was disabled in the build

This commit is contained in:
Alfrix 2018-08-22 12:51:59 -03:00
parent 8ff257290c
commit b118e45d49

View File

@ -6391,6 +6391,7 @@ static bool setting_append_list(
general_read_handler,
SD_FLAG_NONE);
#ifdef HAVE_SHADERPIPELINE
if (video_shader_any_supported())
{
CONFIG_UINT(
@ -6406,6 +6407,7 @@ static bool setting_append_list(
general_read_handler);
menu_settings_list_current_add_range(list, list_info, 0, XMB_SHADER_PIPELINE_LAST-1, 1, true, true);
}
#endif
CONFIG_UINT(
list, list_info,