mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 00:25:19 +02:00
Refactor ITextureSource use in main menu (#16135)
This commit is contained in:
@@ -410,7 +410,7 @@ video::ITexture *ShadowRenderer::getSMTexture(const std::string &shadow_map_name
|
||||
shadow_map_name.c_str(), texture_format);
|
||||
}
|
||||
|
||||
return m_driver->getTexture(shadow_map_name.c_str());
|
||||
return m_driver->findTexture(shadow_map_name.c_str());
|
||||
}
|
||||
|
||||
void ShadowRenderer::renderShadowMap(video::ITexture *target,
|
||||
|
Reference in New Issue
Block a user