Browse Source

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

rextimmy 8 years ago
parent
commit
ab41fe713c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Engine/source/gfx/gl/gfxGLTextureManager.cpp

+ 1 - 1
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)