Fix sort order usage in multi-pass drawing of the Mesh

This commit is contained in:
Wojtek Figat
2023-01-28 01:31:07 +01:00
parent adfe3ad165
commit 87549a3e6c
3 changed files with 2 additions and 4 deletions

View File

@@ -871,9 +871,7 @@ ScriptingTypeHandle ManagedBinaryModule::FindType(MonoClass* klass)
{
int32 typeIndex;
if (typeModule->ClassToTypeIndex.TryGet(klass, typeIndex))
{
return ScriptingTypeHandle(typeModule, typeIndex);
}
}
return ScriptingTypeHandle();
}