From cdf3b6cf7906d15e995ca9700c2a39159e181855 Mon Sep 17 00:00:00 2001 From: AzaezelX Date: Sun, 9 Oct 2022 00:30:06 -0500 Subject: [PATCH] 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 --- Engine/source/gfx/gfxTextureArray.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/Engine/source/gfx/gfxTextureArray.cpp b/Engine/source/gfx/gfxTextureArray.cpp index 7571c38a5..01102c877 100644 --- a/Engine/source/gfx/gfxTextureArray.cpp +++ b/Engine/source/gfx/gfxTextureArray.cpp @@ -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))