remove old legacy extensions that aren't being used.

This commit is contained in:
Jeff Hutchinson 2016-05-06 21:24:52 -04:00
parent 6caafc9844
commit a216b4515b
4 changed files with 5 additions and 42 deletions

View file

@ -304,8 +304,7 @@ bool GFXGLTextureManager::_loadTexture(GFXTextureObject *aTexture, DDSFile *dds)
glBindTexture(texture->getBinding(), texture->getHandle());
texture->mFormat = dds->mFormat;
U32 numMips = dds->mSurfaces[0]->mMips.size();
if(GFX->getCardProfiler()->queryProfile("GL::Workaround::noManualMips"))
numMips = 1;
for(U32 i = 0; i < numMips; i++)
{
if(isCompressedFormat(dds->mFormat))