libtess2
libtess2 copied to clipboard
tess->outOfMemory not initialized
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.