X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=bvh.h;h=23f8a564d54cd7ce1b7830457da97ce15ad790d7;hb=d3d41f80ec992fe4e40b8531721b7874b8a7c400;hp=94ea69bdf91d95c8ea86b0f79a44c3a33b940848;hpb=000297f007a08b25f458656bfb8dfe4345f2ec32;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/bvh.h b/bvh.h index 94ea69b..23f8a56 100644 --- a/bvh.h +++ b/bvh.h @@ -167,7 +167,7 @@ VG_STATIC bh_tree *bh_create( void *lin_alloc, bh_system *system, totsize = sizeof(bh_tree) + sizeof(bh_node) * bh->node_count; bh = vg_linear_resize( lin_alloc, bh, totsize ); - vg_success( "BVH done, size: %u/%u\n", bh->node_count, (item_count*2-1) ); + vg_success( "BVH done, size: %u/%u\n", bh->node_count, (alloc_count*2-1) ); return bh; }