Simplify menu_common_type_is

This commit is contained in:
twinaphex 2014-10-15 20:41:51 +02:00
parent b443a032f6
commit 426bff2041
2 changed files with 0 additions and 7 deletions

View File

@ -440,12 +440,6 @@ int menu_iterate(retro_input_t input,
unsigned menu_common_type_is(const char *label, unsigned type)
{
if (
!strcmp(label, "video_shader_pass") ||
!strcmp(label, "video_shader_preset")
)
return MENU_SETTINGS_SHADER_OPTIONS;
if (
type == MENU_SETTINGS ||
type == MENU_FILE_CATEGORY ||

View File

@ -108,7 +108,6 @@ typedef enum
// Shader stuff
MENU_SETTINGS_VIDEO_RESOLUTION = MENU_SETTINGS + 1,
MENU_SETTINGS_CUSTOM_VIEWPORT,
MENU_SETTINGS_SHADER_OPTIONS,
MENU_SETTINGS_SHADER_PARAMETER_0,
MENU_SETTINGS_SHADER_PARAMETER_LAST = MENU_SETTINGS_SHADER_PARAMETER_0 + (GFX_MAX_PARAMETERS - 1),
MENU_SETTINGS_SHADER_PASS_0,