mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-30 17:45:21 +00:00
Merge pull request #910 from Azaezel/alpha402/GFXTextureArrayAwry
kill console spam
This commit is contained in:
commit
f92c1706c6
1 changed files with 0 additions and 5 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue