Finished off some loose ends for hot-reload

This commit is contained in:
2024-01-30 01:54:37 -05:00
parent 2e6ca2d0fd
commit 282c071163
3 changed files with 4 additions and 7 deletions

View File

@ -65,8 +65,8 @@ startup :: proc( live_mem, snapshot_mem : ^ virtual.Arena )
transient = tracked_allocator_init_vmem( transient_slice, internals_size )
temp = tracked_allocator_init_vmem( temp_slice , internals_size )
// context.allocator = tracked_allocator( transient )
// context.temp_allocator = tracked_allocator( temp )
context.allocator = tracked_allocator( transient )
context.temp_allocator = tracked_allocator( temp )
}
state := new( State, tracked_allocator( memory.persistent ) )
using state
@ -164,8 +164,6 @@ render :: proc()
draw_debug_text_y += 16
}
// draw_text( "Hot-Reload Count : %v", -1 )
draw_text( "Screen Width : %v", rl.GetScreenWidth() )
draw_text( "Screen Height: %v", rl.GetScreenHeight() )