Fix undeclared compile error

Retroarch_data_h:2668:26: error: 'command_set_shader' undeclared here (not in function); do you mean 'command_get_ststus'?
    { "SET_SHADER",         command_set_shader,        "<shader path>" }
This commit is contained in:
alphanu1 2020-12-22 17:42:22 +00:00 committed by GitHub
parent a1b4cced5b
commit 9c39c7994b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2665,7 +2665,9 @@ static bool command_write_ram(const char *arg);
#endif
static const struct cmd_action_map action_map[] = {
#if defined(HAVE_CG) || defined(HAVE_GLSL) || defined(HAVE_SLANG) || defined(HAVE_HLSL)
{ "SET_SHADER", command_set_shader, "<shader path>" },
#endif
{ "VERSION", command_version, "No argument"},
{ "GET_STATUS", command_get_status, "No argument" },
{ "GET_CONFIG_PARAM", command_get_config_param, "<param name>" },