소스 검색

Merge pull request #1868 from rextimmy/gl_nonpot_fix

GL::Workaround::noCompressedNPoTTextures profile is no longer used
Areloch 8 년 전
부모
커밋
5750933d07
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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)