mirror of
https://github.com/libretro/RetroArch
synced 2025-03-03 04:14:00 +00:00
Buildfix for non-shader builds
This commit is contained in:
parent
40bc604e9b
commit
52f8bef386
@ -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;
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user