[common] option: change option_dump to option_dump_preset

This new function dumps all options marked as preset instead of dumping
individual sections. This should allow filter options to not be all grouped
into the [eglFilter] section.
This commit is contained in:
Quantum
2021-08-30 04:23:09 -04:00
committed by Geoffrey McRae
parent 3345ff8448
commit 39e42ba735
3 changed files with 23 additions and 13 deletions

View File

@@ -194,7 +194,7 @@ static bool savePreset(struct EGL_PostProcess * this, const char * name)
free(path);
DEBUG_INFO("Saving preset: %s", name);
option_dump(file, "eglFilter");
option_dump_preset(file);
fclose(file);
return true;
}