profan / smidig

some kind of game engine, with accompanying test code
MIT License
0 stars 0 forks source link

Adjust internal allocator for FontAtlas to actually be safe. #114

Open profan opened 8 years ago

profan commented 8 years ago

Right now it allocates a chunk of like X kilobytes and assumes it always has enough space, either abort when it doesn't have enough space to allocate the array of Points, or make it have a list of growable list of regions it can use which would solve the problem without requiring the total max to be limited.