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

@ -325,6 +325,9 @@ main :: proc()
{
spall.SCOPED_EVENT( & profiler.ctx, & profiler.buffer, "Host Tick" )
// Hot-Reload
sync_sectr_api( & sectr_api, & memory, & logger, & profiler )
running = sectr_api.tick( duration_seconds( delta_ns ), delta_ns )
sectr_api.clean_frame()
@ -332,9 +335,6 @@ main :: proc()
host_tick = time.tick_now()
free_all( arena_allocator( & state.transient))
// Hot-Reload
sync_sectr_api( & sectr_api, & memory, & logger, & profiler )
}
// Determine how the run_cyle completed, if it failed due to an error,