From ab41fe713ccca4f1c2ee351b642276e77cd5ded1 Mon Sep 17 00:00:00 2001 From: rextimmy Date: Thu, 15 Dec 2016 14:50:51 +1000 Subject: [PATCH] GL::Workaround::noCompressedNPoTTextures profile is no longer used nor relevant. #1863 --- Engine/source/gfx/gl/gfxGLTextureManager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Engine/source/gfx/gl/gfxGLTextureManager.cpp b/Engine/source/gfx/gl/gfxGLTextureManager.cpp index 4d000e576..750dc1c92 100644 --- a/Engine/source/gfx/gl/gfxGLTextureManager.cpp +++ b/Engine/source/gfx/gl/gfxGLTextureManager.cpp @@ -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)