alloc big buffers on heap

This commit is contained in:
2026-01-09 05:42:08 +05:00
parent 01df4abcfb
commit bd23c66607
14 changed files with 245 additions and 230 deletions

View File

@@ -181,8 +181,8 @@ typedef struct TimState {
#pragma region general
// TODO: remove global variables
extern TimState tim;
// global statem initialized by tim_run()
extern TimState* tim;
bool tim_run(f32 fps);
@@ -343,8 +343,6 @@ void tim_init_terminal(void);
void tim_read_event(i32 timeout_ms);
void tim_render(void);
#pragma endregion