last state of the prototype.

* Still has memory issue
* Was last using it to learn some PGA from Lengyel's books
This commit is contained in:
2024-04-08 01:35:53 -04:00
parent 2c84d93249
commit 7162c5a14d
19 changed files with 493 additions and 75 deletions

View File

@ -350,8 +350,8 @@ update :: proc( delta_time : f64 ) -> b32
// index := 0
widgets : Array(UI_Widget)
widgets, alloc_error = array_init_reserve( UI_Widget, frame_slab_allocator(), Kilobyte * 64 )
// widgets, alloc_error = array_init_reserve( UI_Widget, frame_slab_allocator(), Kilobyte * 8 )
widgets, alloc_error = array_init_reserve( UI_Widget, frame_slab_allocator(), 8 )
// widgets, alloc_error = array_init_reserve( UI_Widget, frame_slab_allocator(), 4 * Kilobyte )
widgets_ptr := & widgets
label_id := 0