set GFXTextureManager::_validateTexParams to respect sen mipcaps

also kill console spam
This commit is contained in:
AzaezelX 2025-08-04 14:36:11 -05:00
parent 3cdbd4e87e
commit 022f8d1732
3 changed files with 13 additions and 6 deletions

View file

@ -849,9 +849,7 @@ void PostEffect::_setupConstants( const SceneRenderState *state )
if (mMipCountSC[i]->isValid())
{
S32 mipLevels = (S32)mActiveTextures[i]->getMipLevels();
mShaderConsts->set(mMipCountSC[i], mipLevels);
if (mipLevels == 5) Con::errorf("PostEffect::_setupConstants - mipLevels == 5 found!");
mShaderConsts->set(mMipCountSC[i], (S32)mActiveTextures[i]->getMipLevels());
}
}