mirror of
https://github.com/ZDoom/Raze.git
synced 2025-03-23 01:11:30 +00:00
reduce excessive stack use in libschrift.
This commit is contained in:
parent
9e7785e44c
commit
57198e0232
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue