forked from bartvdbraak/blender
compile fix
This commit is contained in:
parent
3eb4358c9f
commit
7c80ca02bc
@ -41,7 +41,7 @@ EdgeHash *BLI_edgehash_new(void) {
|
|||||||
EdgeHash *eh= MEM_callocN(sizeof(*eh), "EdgeHash");
|
EdgeHash *eh= MEM_callocN(sizeof(*eh), "EdgeHash");
|
||||||
eh->cursize= 0;
|
eh->cursize= 0;
|
||||||
eh->nentries= 0;
|
eh->nentries= 0;
|
||||||
eh->nbuckets= hashsizes[eh->cursize];
|
eh->nbuckets= _ehash_hashsizes[eh->cursize];
|
||||||
|
|
||||||
eh->buckets= MEM_callocN(eh->nbuckets*sizeof(*eh->buckets), "eh buckets 2");
|
eh->buckets= MEM_callocN(eh->nbuckets*sizeof(*eh->buckets), "eh buckets 2");
|
||||||
eh->epool = BLI_mempool_create(sizeof(EdgeEntry), 512, 512);
|
eh->epool = BLI_mempool_create(sizeof(EdgeEntry), 512, 512);
|
||||||
|
Loading…
Reference in New Issue
Block a user