#include "system/stacktrace.h"
#include <stdlib.h>
-#include <SDL2/SDL.h>
+#include <SDL.h>
#include "color.h"
#include "game/sprite_font.h"
struct Console_Log
{
- Lt lt;
+ Lt *lt;
const Sprite_font *font;
Vec font_size;
Vec font_size,
size_t capacity)
{
- Lt lt = {0};
+ Lt *lt = create_lt();
Console_Log *console_log = PUSH_LT(lt, nth_calloc(1, sizeof(Console_Log)), free);
if (console_log == NULL) {