mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-16 18:01:40 +00:00
Remove Irrlicht versioning
This commit is contained in:
parent
b487341c32
commit
d53ef90a73
12 changed files with 2 additions and 133 deletions
|
@ -192,12 +192,7 @@ void ShadowRenderer::addNodeToShadowList(
|
|||
{
|
||||
m_shadow_node_array.emplace_back(node, shadowMode);
|
||||
// node should never be ClientMap
|
||||
#if IRRLICHT_VERSION_MT_REVISION >= 15
|
||||
assert(!node->getName().has_value() || *node->getName() != "ClientMap");
|
||||
#else
|
||||
// TODO: Remove this as soon as we require 1.9.0mt15
|
||||
assert(strcmp(node->getName(), "ClientMap") != 0);
|
||||
#endif
|
||||
node->forEachMaterial([this] (auto &mat) {
|
||||
mat.setTexture(TEXTURE_LAYER_SHADOW, shadowMapTextureFinal);
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue