From b3691539d3b4483a353802559cfaa07c23c3971c Mon Sep 17 00:00:00 2001 From: "Athena Z." Date: Thu, 15 Aug 2024 11:49:33 -0700 Subject: [PATCH] Update ogre2/src/Ogre2Scene.cc Co-authored-by: Ian Chen Signed-off-by: Athena Z. Signed-off-by: Athena Z --- ogre2/src/Ogre2Scene.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ogre2/src/Ogre2Scene.cc b/ogre2/src/Ogre2Scene.cc index a8e383e68..b245df96f 100644 --- a/ogre2/src/Ogre2Scene.cc +++ b/ogre2/src/Ogre2Scene.cc @@ -1597,8 +1597,9 @@ bool Ogre2Scene::SetShadowTextureSize(LightType _lightType, if (_textureSize > this->dataPtr->maxTexSize / 2) { gzerr << " 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; }