oc_clock_init() called in oc_init() platform mismatch #66

Closed
opened 2023-08-24 19:35:57 +00:00 by rdunnington · 2 comments
Collaborator

oc_clock_init() is called in oc_init() on osx_app.m. But it isn't called in the corresponding oc_init() in win32_app.c.

I'm mainly opening this because I'm not sure what the intended behavior should be - if orca apps are intended to call oc_clock_init() or let the platform handle it.

`oc_clock_init()` is called in `oc_init()` on osx_app.m. But it isn't called in the corresponding `oc_init()` in win32_app.c. I'm mainly opening this because I'm not sure what the intended behavior should be - if orca apps are intended to call `oc_clock_init()` or let the platform handle it.
Collaborator

Platform is supposed to be the one handling it, the clock init function is not exposed to wasm.
Context: #18 (comment)

Platform is supposed to be the one handling it, the clock init function is not exposed to wasm. Context: https://git.handmade.network/hmn/orca/pulls/18#issuecomment-1433
Author
Collaborator

Cool, ty. I'll open a PR for this

Cool, ty. I'll open a PR for this
Sign in to join this conversation.
No Label
macOS
windows
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: hmn/orca#66
No description provided.