This commit is contained in:
twinaphex 2016-09-05 08:03:25 +02:00
parent e785c8ac55
commit 5afb197198
2 changed files with 3 additions and 1 deletions

View File

@ -1652,7 +1652,9 @@ static bool config_load_file(const char *path, bool set_defaults,
struct config_array_setting_ptr *array_settings = NULL;
struct config_path_setting_ptr *path_settings = NULL;
char *override_username = NULL;
#ifdef HAVE_NETPLAY
char *override_netplay_ip_address = NULL;
#endif
global_t *global = global_get_ptr();
int bool_settings_size = populate_settings_bool (settings, &bool_settings);
int float_settings_size = populate_settings_float (settings, &float_settings);

View File

@ -367,10 +367,10 @@ bool menu_shader_manager_save_preset(
**/
unsigned menu_shader_manager_get_type(const void *data)
{
const struct video_shader *shader = (const struct video_shader*)data;
#ifndef HAVE_SHADER_MANAGER
return RARCH_SHADER_NONE;
#else
const struct video_shader *shader = (const struct video_shader*)data;
/* All shader types must be the same, or we cannot use it. */
unsigned i = 0, type = 0;