Skip to content

Commit

Permalink
Update ogre2/src/Ogre2Scene.cc
Browse files Browse the repository at this point in the history
Co-authored-by: Ian Chen <[email protected]>
Signed-off-by: Athena Z. <[email protected]>
Signed-off-by: Athena Z <[email protected]>
  • Loading branch information
athenaz2 and iche033 committed Aug 15, 2024
1 parent 640d0b2 commit b369153
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions ogre2/src/Ogre2Scene.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1597,8 +1597,9 @@ bool Ogre2Scene::SetShadowTextureSize(LightType _lightType,
if (_textureSize > this->dataPtr->maxTexSize / 2)
{
gzerr << "<texture_size> of '" << _textureSize
<< "' exceeds maximum possible texture size,"
<< " using default texture size" << std::endl;
<< "' exceeds maximum possible texture size of "
<< this->dataPtr->maxTexSize <<
<< ", using default texture size" << std::endl;
return false;
}

Expand Down

0 comments on commit b369153

Please sign in to comment.