Skip to content

Commit

Permalink
bugfix: assertion failures in setVirtualAddress()
Browse files Browse the repository at this point in the history
  • Loading branch information
stephengold committed Nov 11, 2024
1 parent c9f42bb commit b22b417
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ public class DefaultBroadPhaseLayerFilter extends BroadPhaseLayerFilter {
*/
DefaultBroadPhaseLayerFilter(
ConstObjectVsBroadPhaseLayerFilter pairFilter, int objectLayer) {
super(true);
long pairFilterVa = pairFilter.targetVa();
long filterVa = createFromPairFilter(pairFilterVa, objectLayer);
setVirtualAddress(filterVa, true);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ public class DefaultObjectLayerFilter extends ObjectLayerFilter {
*/
DefaultObjectLayerFilter(
ConstObjectLayerPairFilter pairFilter, int objectLayer) {
super(true);
long pairFilterVa = pairFilter.targetVa();
long filterVa = createFromPairFilter(pairFilterVa, objectLayer);
setVirtualAddress(filterVa, true);
Expand Down

0 comments on commit b22b417

Please sign in to comment.