mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-12 15:14:35 +00:00
GL::Workaround::noCompressedNPoTTextures profile is no longer used nor relevant. #1863
This commit is contained in:
parent
54456fa4fa
commit
ab41fe713c
1 changed files with 1 additions and 1 deletions
|
|
@ -316,7 +316,7 @@ bool GFXGLTextureManager::_loadTexture(GFXTextureObject *aTexture, DDSFile *dds)
|
||||||
|
|
||||||
if(isCompressedFormat(dds->mFormat))
|
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;
|
U32 squishFlag = squish::kDxt1;
|
||||||
switch (dds->mFormat)
|
switch (dds->mFormat)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue