Fix batching draw calls after recent refactor

This commit is contained in:
Wojtek Figat
2021-02-21 16:49:19 +01:00
parent 67dd80e40d
commit 506ce69f53

View File

@@ -516,6 +516,7 @@ namespace
Platform::MemoryCompare(&a.Geometry, &b.Geometry, sizeof(a.Geometry)) == 0 &&
a.InstanceCount != 0 &&
b.InstanceCount != 0 &&
handler.CanBatch(a, b) &&
a.WorldDeterminantSign == b.WorldDeterminantSign;
}
}