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

@ -90,6 +90,8 @@ void render_rect_batch(const Primitive2D primitives[],
(Vec2){0}, (Vec2){0}, (Vec2){0}, (Vec2){0},
rect.color);
}
finish_vertex_builder(&payload);
}
finally_render_quads(primitives, batch, vertex_array);