fix mixing up of SDL and libc allocators, proper flushing of quad build buffers

This commit is contained in:
veclavtalica
2025-01-30 21:57:20 +03:00
parent 7074e7499a
commit bd89c4b938
16 changed files with 33 additions and 26 deletions

View File

@@ -203,7 +203,7 @@ static void calc_collisions_y(Player *player) {
Player *player_create(World *world) {
Player *player = cmalloc(sizeof *player);
Player *player = malloc(sizeof *player);
*player = (Player) {
.world = world,