X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=bvh.h;h=27e23b5af516dd0fc8ae809b7c6844400741cf7d;hb=b0a4fb814d794157c55212191df200915ab99515;hp=a6a7468b7141f6a7c7f13f8cae11725121840b6d;hpb=a6e1ee0f51aa5570b20aad658365dec896f8c9b8;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/bvh.h b/bvh.h index a6a7468..27e23b5 100644 --- a/bvh.h +++ b/bvh.h @@ -251,10 +251,7 @@ static int bh_select( bh_tree *bh, boxf box, u32 *buffer, int len ) if( inode->count ) { if( count + inode->count >= len ) - { - vg_error( "Maximum buffer reached!\n" ); return count; - } for( u32 i=0; icount; i++ ) buffer[ count ++ ] = inode->start+i;