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; }