mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-15 08:34:40 +00:00
minor followup to #1494
we do try and avoid auto for places that aren't mutatable patterns so folks can scan what's going on under the hood
This commit is contained in:
parent
ccd30a19cc
commit
2e15018ad3
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