diff --git a/Engine/source/gfx/gfxDevice.cpp b/Engine/source/gfx/gfxDevice.cpp index c5e5de495..b0eb1b737 100644 --- a/Engine/source/gfx/gfxDevice.cpp +++ b/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;