X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=bvh.h;h=27e23b5af516dd0fc8ae809b7c6844400741cf7d;hb=ecc4dfbfb3adf91d2dfc03ba0ec9a821fcc2390c;hp=a6a7468b7141f6a7c7f13f8cae11725121840b6d;hpb=3bb0287d544a4cb75de9afe2927ac8e946f3a18e;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;