Преглед изворни кода

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

AzaezelX пре 3 месеци
родитељ
комит
2e15018ad3
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      Engine/source/gfx/gfxDevice.cpp

+ 1 - 1
Engine/source/gfx/gfxDevice.cpp

@@ -292,7 +292,7 @@ GFXStateBlockRef GFXDevice::createStateBlock(const GFXStateBlockDesc& desc)
    PROFILE_SCOPE( GFXDevice_CreateStateBlock );
 
    U32 hashValue = desc.getHashValue();
-   auto it = mCurrentStateBlocks.find(hashValue);
+   StateBlockMap::Iterator it = mCurrentStateBlocks.find(hashValue);
    if (it != mCurrentStateBlocks.end())
       return it->value;