Started working on macOS platform layer.
This commit is contained in:
parent
9f518de27b
commit
67dfd06149
|
@ -0,0 +1,16 @@
|
||||||
|
int
|
||||||
|
main(int arg_count, char **args){
|
||||||
|
Thread_Context _tctx = {};
|
||||||
|
thread_ctx_init(&_tctx, ThreadKind_Main,
|
||||||
|
get_base_allocator_system(),
|
||||||
|
get_base_allocator_system());
|
||||||
|
|
||||||
|
block_zero_struct(&global_mac_vars);
|
||||||
|
global_mac_vars.tctx = &_tctx;
|
||||||
|
|
||||||
|
// NOTE(yuval): Application Core Update
|
||||||
|
Application_Step_Result result = {};
|
||||||
|
if (app.step != 0){
|
||||||
|
result = app.step(mac_vars.tctx, &target, base_ptr, &input);
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue