another ccaloc moment

This commit is contained in:
veclavtalica 2025-02-01 14:00:18 +03:00
parent 0929aa9be4
commit 98d19495a2

View File

@ -103,7 +103,7 @@ static void benchmark(struct state *state) {
void game_tick(void) {
if (ctx.initialization_needed) {
if (!ctx.udata) {
ctx.udata = ccalloc(1, sizeof (struct state));
ctx.udata = calloc(1, sizeof (struct state));
struct state *state = ctx.udata;
state->r = 24;
}