fix mixing up of SDL and libc allocators, proper flushing of quad build buffers
This commit is contained in:
@ -66,7 +66,7 @@ void game_tick(void)
|
||||
{ // First tick, initalizing data
|
||||
// Allocating State struct to store data there
|
||||
if (!ctx.udata)
|
||||
ctx.udata = ccalloc(1, sizeof(State));
|
||||
ctx.udata = calloc(1, sizeof(State));
|
||||
}
|
||||
|
||||
input_action("add_a_bit", CONTROL_LEFT_MOUSE);
|
||||
|
Reference in New Issue
Block a user