mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-01-19 20:24:49 +00:00
kill console spam
no point in reporting mismatched texture formats the line right before we try and convert the things and report if we couldn't *was mostly due to excessive reports for fully compatible rgb vs rgba mixes
This commit is contained in:
parent
ea7ca63301
commit
cdf3b6cf79
|
|
@ -131,11 +131,6 @@ void GFXTextureArray::setTexture(const GFXTexHandle& texture, U32 slot)
|
|||
AssertWarn(true, avar("GFXTextureArray::setTexture all textures should have at least the same number of mips: %i vs %i", texture->getMipLevels(), mMipLevels));
|
||||
Con::warnf(avar("GFXTextureArray::setTexture all textures should have at least the same number of mips: %i vs %i", texture->getMipLevels(), mMipLevels));
|
||||
}
|
||||
else
|
||||
{
|
||||
AssertWarn(true, "GFXTextureArray::setTexture all textures should have the same format");
|
||||
Con::warnf("GFXTextureArray::setTexture all textures should have the same format");
|
||||
}
|
||||
|
||||
GBitmap* inBitmap = TEXMGR->loadUncompressedTexture(texture->getPath(), &GFXTexturePersistentProfile, mWidth, mHeight);
|
||||
if (!inBitmap->setFormat(mFormat))
|
||||
|
|
|
|||
Loading…
Reference in a new issue