Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rectangle moves slowly on Apple Silicon / ARM #14

Open
jlstrecker opened this issue Jan 26, 2021 · 1 comment
Open

Rectangle moves slowly on Apple Silicon / ARM #14

jlstrecker opened this issue Jan 26, 2021 · 1 comment

Comments

@jlstrecker
Copy link

mach_absolute_time(), used to calculate the rectangle's position in Stream.createPixelBuffer, behaves differently on ARM than Intel. Apple recommends replacing it with clock_gettime_nsec_np(CLOCK_UPTIME_RAW).

@ludagoo
Copy link

ludagoo commented May 10, 2021

Oh man! This just got me! clock_gettime_nsec_np(CLOCK_UPTIME_RAW) should work fine on Intel right?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants