Merge pull request #1868 from rextimmy/gl_nonpot_fix

GL::Workaround::noCompressedNPoTTextures profile is no longer used
This commit is contained in:
Areloch 2016-12-20 23:20:07 -06:00 committed by GitHub
commit 5750933d07

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)