Merge pull request #1496 from Azaezel/alpha41/NoAuto

minor followup to #1494
This commit is contained in:
Brian Roberts 2025-06-06 11:00:56 -05:00 committed by GitHub
commit 11a84d7e48
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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;