diff --git a/DOCS/interface-changes/gamma-factor.txt b/DOCS/interface-changes/gamma-factor.txt new file mode 100644 index 0000000000..05ab04b5ab --- /dev/null +++ b/DOCS/interface-changes/gamma-factor.txt @@ -0,0 +1 @@ +undeprecate `--gamma-factor` diff --git a/DOCS/man/options.rst b/DOCS/man/options.rst index 08e033c460..5738932f98 100644 --- a/DOCS/man/options.rst +++ b/DOCS/man/options.rst @@ -6811,8 +6811,6 @@ them. other ways (like with the ``--gamma`` option or key bindings and the ``gamma`` property), the value is multiplied with the other gamma value. - This option is deprecated and may be removed in the future. - ``--gamma-auto`` Automatically corrects the gamma value depending on ambient lighting conditions (adding a gamma boost for bright rooms). diff --git a/video/out/gpu/video.c b/video/out/gpu/video.c index 4f9d7ee54f..0486cc4341 100644 --- a/video/out/gpu/video.c +++ b/video/out/gpu/video.c @@ -433,8 +433,7 @@ const struct m_sub_options gl_video_conf = { .opts = (const m_option_t[]) { {"gpu-dumb-mode", OPT_CHOICE(dumb_mode, {"auto", 0}, {"yes", 1}, {"no", -1})}, - {"gamma-factor", OPT_FLOAT(gamma), M_RANGE(0.1, 2.0), - .deprecation_message = "no replacement"}, + {"gamma-factor", OPT_FLOAT(gamma), M_RANGE(0.1, 2.0)}, {"gamma-auto", OPT_BOOL(gamma_auto), .deprecation_message = "no replacement"}, {"target-prim", OPT_CHOICE_C(target_prim, pl_csp_prim_names)},