From 6e64ce70dfe19dbdd1c76fba49fe06a6d3c78a86 Mon Sep 17 00:00:00 2001 From: jean Date: Sun, 7 Feb 2021 19:29:30 +0100 Subject: [PATCH] Remove compositing from supported features (it is replaced by shaders now and was deprecated anyway) --- src/graphics/material.cpp | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/src/graphics/material.cpp b/src/graphics/material.cpp index eea04819f..75aba1447 100644 --- a/src/graphics/material.cpp +++ b/src/graphics/material.cpp @@ -218,16 +218,7 @@ Material::Material(const XMLNode *node, bool deprecated) } if (node->get("compositing", &s)) { - if (s == "test") - { - m_shader_name = "alphatest"; - } - else if (s == "additive") - { - m_shader_name = "additive"; - } - else if (s != "none") - Log::warn("material", "Unknown compositing mode '%s'", s.c_str()); + Log::warn("material", "compositing property is deprecated and removed. Please use shaders now"); } s = "";