From 7d32783d9e2e314e83655a5982d6986e83a4db81 Mon Sep 17 00:00:00 2001 From: Yuxuan Shui Date: Tue, 8 Sep 2020 07:04:06 +0100 Subject: [PATCH] options: warn when dual-kawase blur is chosen on unsupported backends Closes #464 Signed-off-by: Yuxuan Shui --- src/options.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/options.c b/src/options.c index 7bd6865..029c949 100644 --- a/src/options.c +++ b/src/options.c @@ -953,6 +953,11 @@ bool get_cfg(options_t *opt, int argc, char *const *argv, bool shadow_enable, "capping to 20."); opt->blur_strength = 20; } + if (!opt->experimental_backends) { + log_warn("Dual-kawase blur is not implemented by the legacy " + "backends, you must use the `experimental-backends` " + "option`."); + } } if (opt->resize_damage < 0) {