Skip to content

Commit 98f6a2e

Browse files
committed
Merge pull request #3271 from twistedfall:ovis-build-fix
2 parents 559978e + 57db17e commit 98f6a2e

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)