Skip to content

Commit

Permalink
a little fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Joilnen committed Sep 1, 2023
1 parent ac9ea6a commit 85b673b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Components/RTShaderSystem/src/OgreShaderGenerator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1779,7 +1779,7 @@ bool ShaderGenerator::SGScheme::validate(const String& materialName, const Strin

// Find the desired technique.
bool doAutoDetect = groupName == ResourceGroupManager::AUTODETECT_RESOURCE_GROUP_NAME;
for (const auto *t : mTechniqueEntries)
for (auto *t : mTechniqueEntries)
{
const SGMaterial* curMat = t->getParent();
if ((curMat->getMaterialName() == materialName) &&
Expand Down

0 comments on commit 85b673b

Please sign in to comment.