Remove the glx-use-gpushader4 options
Deprecated since v6. Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
This commit is contained in:
@@ -606,10 +606,10 @@ char *parse_config_libconfig(options_t *opt, const char *config_file, bool *shad
|
||||
}
|
||||
|
||||
// --glx-use-gpushader4
|
||||
if (config_lookup_bool(&cfg, "glx-use-gpushader4", &ival) && ival) {
|
||||
log_warn("glx-use-gpushader4 is deprecated since v6, please remove it "
|
||||
"from"
|
||||
"your config file");
|
||||
if (config_lookup_bool(&cfg, "glx-use-gpushader4", &ival)) {
|
||||
log_error("glx-use-gpushader4 has been removed, please remove it "
|
||||
"from your config file");
|
||||
goto err;
|
||||
}
|
||||
// --xrender-sync
|
||||
if (config_lookup_bool(&cfg, "xrender-sync", &ival) && ival) {
|
||||
|
||||
@@ -790,8 +790,9 @@ bool get_cfg(options_t *opt, int argc, char *const *argv, bool shadow_enable,
|
||||
P_CASEINT(302, resize_damage);
|
||||
case 303:
|
||||
// --glx-use-gpushader4
|
||||
log_warn("--glx-use-gpushader4 is deprecated since v6."
|
||||
log_error("--glx-use-gpushader4 has been removed."
|
||||
" Please remove it from command line options.");
|
||||
failed = true;
|
||||
break;
|
||||
case 304:
|
||||
// --opacity-rule
|
||||
|
||||
Reference in New Issue
Block a user