Recast: only set bits corresponding to polygroup in traverse table

The table is fully nulled when allocated, resetting bits is not necessary.
This commit is contained in:
Kawe Mazidjatari 2024-10-29 12:52:20 +01:00
parent 64de9f6a48
commit ce14f2a150

View File

@ -318,8 +318,6 @@ static void setPolyGroupsTraversalReachability(int* const tableData, const int n
if (isReachable)
tableData[index] |= value;
else
tableData[index] &= ~value;
}
static void unionTraverseLinkedPolyGroups(const dtTraverseTableCreateParams* params, const int tableIndex)