Turn command_set_shader private

This commit is contained in:
twinaphex 2020-02-01 17:17:36 +01:00
parent d89fb0e7c4
commit bece92abb2
2 changed files with 3 additions and 3 deletions

View File

@ -214,8 +214,6 @@ enum event_command
CMD_EVENT_SAVE_FILES
};
bool command_set_shader(const char *arg);
/**
* command_event:
* @cmd : Command index.

View File

@ -1183,6 +1183,8 @@ static bool is_narrator_running(void);
static bool accessibility_startup_message(void);
#endif
static bool command_set_shader(const char *arg);
static bool midi_driver_read(uint8_t *byte);
static bool midi_driver_write(uint8_t byte, uint32_t delta_time);
static bool midi_driver_output_enabled(void);
@ -3968,7 +3970,7 @@ bool retroarch_apply_shader(enum rarch_shader_type type, const char *preset_path
#endif
}
bool command_set_shader(const char *arg)
static bool command_set_shader(const char *arg)
{
#if defined(HAVE_CG) || defined(HAVE_GLSL) || defined(HAVE_SLANG) || defined(HAVE_HLSL)
enum rarch_shader_type type = video_shader_parse_type(arg);