FontManager::drawTextF() needs a variable buffer
Closed this issue · 2 comments
strikekat commented
drawTextF() currently has a set buffer size. This is due to Windows not allowing a strlen() call on an unknown argument (Works in Linux).
A possible solution may be to switch to al_draw_textf() and transfer arguments.
strikekat commented
Also consider using a char vector instead of array.
strikekat commented
Closing for now, the set amount has encompassed everything so far, and keeps a much-too-long string from taking down the engine. If I notice other solutions, though, I will gladly fix it.