forked from bartvdbraak/blender
Bugfix: Wrong 32/64bit check was used which resulted in a 2GB limit for some 64bit architecture
This commit is contained in:
parent
4018dfd28f
commit
63ef1dfb02
@ -703,7 +703,7 @@ bool LbmFsgrSolver::initializeSolverMemory()
|
||||
memBlockAllocProblem = true;
|
||||
}
|
||||
#endif // Mac
|
||||
if(sizeof(int)==4 && memEstFine>maxDefaultMemChunk) {
|
||||
if(sizeof(void *)==4 && memEstFine>maxDefaultMemChunk) {
|
||||
// max memory chunk for 32bit systems 2gig
|
||||
memBlockAllocProblem = true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user