Remove compositing from supported features (it is replaced by shaders now and was deprecated anyway)

This commit is contained in:
jean 2021-02-07 19:29:30 +01:00
parent 91980a2fdd
commit 6e64ce70df

View File

@ -218,16 +218,7 @@ Material::Material(const XMLNode *node, bool deprecated)
} }
if (node->get("compositing", &s)) if (node->get("compositing", &s))
{ {
if (s == "test") Log::warn("material", "compositing property is deprecated and removed. Please use shaders now");
{
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());
} }
s = ""; s = "";