mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-05 21:40:31 +00:00
mipwork, laregly courtesy of @mmarauder2k9-torque
This commit is contained in:
parent
81504fb089
commit
cacd8a6064
8 changed files with 128 additions and 128 deletions
|
|
@ -105,7 +105,7 @@ void GFXD3D11TextureManager::_innerCreateTexture( GFXD3D11TextureObject *retTex,
|
|||
}
|
||||
|
||||
if( !forceMips && !retTex->mProfile->isSystemMemory() &&
|
||||
numMipLevels == 0 &&
|
||||
(numMipLevels == 0 || numMipLevels > 1)&&
|
||||
!(depth > 0) )
|
||||
{
|
||||
miscFlags |= D3D11_RESOURCE_MISC_GENERATE_MIPS;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue