fixes
This commit is contained in:
1 parent
3f264ca0ad
commit
24e8dc052d
3 files changed
+3
-3
No files matched your search
+1
-1
@@ -87,7 +87,7 @@ static void *custom_alloc(void *ud, void *ptr, size_t osize, size_t nsize) {
|
||||
void game_tick(void) {
|
||||
if (ctx.initialization_needed) {
|
||||
if (!ctx.udata)
|
||||
ctx.udata = ccalloc(1, sizeof (State));
|
||||
ctx.udata = calloc(1, sizeof (State));
|
||||
|
||||
State *state = ctx.udata;
|
||||
|
||||
|
||||
Reference in new issue
Block a user