options: warn when dual-kawase blur is chosen on unsupported backends
Closes #464 Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user