mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-07 16:18:52 +00:00
add main scope
This commit is contained in:
@@ -16,6 +16,8 @@ main :: proc() {
|
|||||||
spall_buffer = spall.buffer_create(buffer_backing)
|
spall_buffer = spall.buffer_create(buffer_backing)
|
||||||
defer spall.buffer_destroy(&spall_ctx, &spall_buffer)
|
defer spall.buffer_destroy(&spall_ctx, &spall_buffer)
|
||||||
|
|
||||||
|
spall.SCOPED_EVENT(&spall_ctx, &spall_buffer, #procedure)
|
||||||
|
|
||||||
for i := 0; i < 9001; i += 1 {
|
for i := 0; i < 9001; i += 1 {
|
||||||
foo()
|
foo()
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user