mirror of
https://github.com/libretro/RetroArch
synced 2025-02-27 09:41:14 +00:00
Revert "Don't dump frame_count_mod unless needed."
This reverts commit eeddfea4255959567459080a05496c885e4fde41.
This commit is contained in:
parent
881e7a299d
commit
8396f71004
@ -666,13 +666,6 @@ static bool load_preset(const char *path)
|
||||
|
||||
config_file_free(conf);
|
||||
|
||||
#if 1
|
||||
config_file_t *save_test = config_file_new(NULL);
|
||||
gfx_shader_write_conf_cgp(conf, cg_shader);
|
||||
config_file_write(save_test, "/tmp/load.cgp");
|
||||
config_file_free(save_test);
|
||||
#endif
|
||||
|
||||
if (cg_shader->passes > RARCH_CG_MAX_SHADERS - 3)
|
||||
{
|
||||
RARCH_WARN("Too many shaders ... Capping shader amount to %d.\n", RARCH_CG_MAX_SHADERS - 3);
|
||||
|
@ -455,11 +455,8 @@ void gfx_shader_write_conf_cgp(config_file_t *conf, const struct gfx_shader *sha
|
||||
config_set_bool(conf, key, pass->filter == RARCH_FILTER_LINEAR);
|
||||
}
|
||||
|
||||
if (pass->frame_count_mod)
|
||||
{
|
||||
print_buf(key, "frame_count_mod%u", i);
|
||||
config_set_int(conf, key, pass->frame_count_mod);
|
||||
}
|
||||
print_buf(key, "frame_count_mod%u", i);
|
||||
config_set_int(conf, key, pass->frame_count_mod);
|
||||
|
||||
shader_write_fbo(conf, &pass->fbo, i);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user