mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-15 08:34:40 +00:00
Merge pull request #1496 from Azaezel/alpha41/NoAuto
minor followup to #1494
This commit is contained in:
commit
11a84d7e48
1 changed files with 1 additions and 1 deletions
|
|
@ -292,7 +292,7 @@ GFXStateBlockRef GFXDevice::createStateBlock(const GFXStateBlockDesc& desc)
|
||||||
PROFILE_SCOPE( GFXDevice_CreateStateBlock );
|
PROFILE_SCOPE( GFXDevice_CreateStateBlock );
|
||||||
|
|
||||||
U32 hashValue = desc.getHashValue();
|
U32 hashValue = desc.getHashValue();
|
||||||
auto it = mCurrentStateBlocks.find(hashValue);
|
StateBlockMap::Iterator it = mCurrentStateBlocks.find(hashValue);
|
||||||
if (it != mCurrentStateBlocks.end())
|
if (it != mCurrentStateBlocks.end())
|
||||||
return it->value;
|
return it->value;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue