Pārlūkot izejas kodu

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 mēneši atpakaļ
vecāks
revīzija
2e15018ad3
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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;