reduce excessive stack use in libschrift.

This commit is contained in:
Christoph Oelckers 2024-01-06 14:43:37 +01:00
parent 9e7785e44c
commit 57198e0232

View file

@ -1548,7 +1548,7 @@ render_outline(Outline *outl, double transform[6], SFT_Image image)
numPixels = (unsigned int) image.width * (unsigned int) image.height;
STACK_ALLOC(cells, Cell, 128 * 128, numPixels);
STACK_ALLOC(cells, Cell, 32 * 32, numPixels);
if (!cells) {
return -1;
}