GL::Workaround::noCompressedNPoTTextures profile is no longer used nor relevant. #1863

This commit is contained in:
rextimmy 2016-12-15 14:50:51 +10:00
parent 54456fa4fa
commit ab41fe713c

View file

@ -316,7 +316,7 @@ bool GFXGLTextureManager::_loadTexture(GFXTextureObject *aTexture, DDSFile *dds)
if(isCompressedFormat(dds->mFormat))
{
if((!isPow2(dds->getWidth()) || !isPow2(dds->getHeight())) && GFX->getCardProfiler()->queryProfile("GL::Workaround::noCompressedNPoTTextures"))
if((!isPow2(dds->getWidth()) || !isPow2(dds->getHeight())))
{
U32 squishFlag = squish::kDxt1;
switch (dds->mFormat)