mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-26 16:49:03 +08:00
13 lines
582 B
Diff
13 lines
582 B
Diff
|
--- a/modules/ovis/src/ovis.cpp
|
||
|
+++ b/modules/ovis/src/ovis.cpp
|
||
|
@@ -453,7 +453,8 @@ class WindowSceneImpl : public WindowScene
|
||
|
if(tus->getTextureName() != name)
|
||
|
{
|
||
|
RTShader::ShaderGenerator::getSingleton().invalidateMaterial(
|
||
|
- RTShader::ShaderGenerator::DEFAULT_SCHEME_NAME, *bgplane->getMaterial());
|
||
|
+ RTShader::ShaderGenerator::DEFAULT_SCHEME_NAME, bgplane->getMaterial()->getName(),
|
||
|
+ RESOURCEGROUP_NAME);
|
||
|
|
||
|
tus->setTextureName(name);
|
||
|
tus->setTextureAddressingMode(TAM_CLAMP);
|