diff --git a/command.h b/command.h index ed1d742884..c9ff24ed1f 100644 --- a/command.h +++ b/command.h @@ -214,8 +214,6 @@ enum event_command CMD_EVENT_SAVE_FILES }; -bool command_set_shader(const char *arg); - /** * command_event: * @cmd : Command index. diff --git a/retroarch.c b/retroarch.c index c652c36f4a..0e19b9ff36 100644 --- a/retroarch.c +++ b/retroarch.c @@ -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);