hcabel / OpenVoxel

OpenVoxel is a Open source voxel game engine/editor
GNU General Public License v3.0
15 stars 2 forks source link

WindowsPlatformTime not working anymore #56

Closed hcabel closed 1 year ago

hcabel commented 1 year ago

Fixes #55 I Update the glfw windows title to show the current FPS has a way to see that the paltform time is working at all time. To fix the bug though, I just detect if glfwGetTime return 0 and if he does I call glfwInit. In the future I'll probably have to change this function to not use glfwGetTime at all.