Skip to content

Commit 57db17e

Browse files
committed
Fix building error with OGRE 1.12.9
1 parent db16caf commit 57db17e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

modules/ovis/src/ovis.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -453,7 +453,8 @@ class WindowSceneImpl : public WindowScene
453453
if(tus->getTextureName() != name)
454454
{
455455
RTShader::ShaderGenerator::getSingleton().invalidateMaterial(
456-
RTShader::ShaderGenerator::DEFAULT_SCHEME_NAME, *bgplane->getMaterial());
456+
RTShader::ShaderGenerator::DEFAULT_SCHEME_NAME, bgplane->getMaterial()->getName(),
457+
RESOURCEGROUP_NAME);
457458

458459
tus->setTextureName(name);
459460
tus->setTextureAddressingMode(TAM_CLAMP);

0 commit comments

Comments
 (0)