remove unnecessary idx run iterator assertion in converter; 'twas asserting that no nodes remained in the bake phase when reaching the end of the idx run section, but this does not hold in all cases (e.g. in the case where there is an empty idx run added last)

This commit is contained in:
Ryan Fleury committed 2024-01-26 06:08:12 -08:00
1 parent 21deaace66
commit 8c0708d2ab
1 file changed
-2
-2
View File
@@ -399,8 +399,6 @@ cons_bake_file(Arena *arena, CONS_Root *root, String8List *out){
MemoryCopy(out_ptr, node->idx_run, sizeof(*node->idx_run)*node->count);
out_ptr += node->count;
}
// both iterators should reach the end at the same time
Assert(node == 0);
Assert(out_ptr == opl);
}