libtess2 icon indicating copy to clipboard operation
libtess2 copied to clipboard

tess->outOfMemory not initialized

Open clanzotti opened this issue 4 years ago • 0 comments

Hi,

the variable TESStesselator::outOfMemory is never initialized, causing (randomly) the tessTessellate() function to return 0.

I just fixed by adding: tess->outOfMemory = 0; to the beginning of the tessTesselate() function.

Best Regards.

clanzotti avatar Apr 07 '21 14:04 clanzotti