-
-
Notifications
You must be signed in to change notification settings - Fork 226
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
On Linux GetTicks64 always returns 0 while GetTicks returns correct value #545
Comments
Hi @geniot, could you let me know what version of go-sdl2 is being used? I believe it has been fixed in the newer versions such as |
I've been using 0.4.27 since the initial commit of my boilerplate code: |
Thanks @geniot for the response. Could you let me know what version of SDL2 is being used? |
2.0:
|
Hi @geniot, if SDL2 2.0.0 is being used then it needs to be updated to at least SDL2 2.0.18 as that function isn't available in the older versions, according to https://wiki.libsdl.org/SDL2/SDL_GetTicks64 |
Thanks. I guess I'll stick with my fix as I'm also cross compiling for a handheld device where updating SDL2 is not so trivial. 49 days of game time is fine with me :) |
Thanks for the hint. I'll definitely try later. |
I'm using x86_64 Linux distributive.
sdl.GetTicks64() always returns 0 while sdl.GetTicks() returns a correct value.
The text was updated successfully, but these errors were encountered: