Buildfix for non-shader builds

This commit is contained in:
twinaphex 2019-08-18 00:48:56 +02:00
parent 40bc604e9b
commit 52f8bef386
2 changed files with 2 additions and 1 deletions

View File

@ -4218,7 +4218,6 @@ static int action_ok_add_to_favorites(const char *path,
{
global_t *global = global_get_ptr();
struct retro_system_info *system = runloop_get_libretro_system_info();
menu_handle_t *menu = NULL;
struct string_list *str_list = NULL;
const char *crc32 = NULL;
const char *db_name = NULL;

View File

@ -21312,6 +21312,7 @@ static void retroarch_parse_input_and_config(int argc, char *argv[])
break;
case RA_OPT_SET_SHADER:
#if defined(HAVE_CG) || defined(HAVE_GLSL) || defined(HAVE_SLANG) || defined(HAVE_HLSL)
/* disable auto-shaders */
if (string_is_empty(optarg))
{
@ -21329,6 +21330,7 @@ static void retroarch_parse_input_and_config(int argc, char *argv[])
}
strlcpy(cli_shader, optarg, sizeof(cli_shader));
#endif
break;
#ifdef HAVE_DYNAMIC