04-24-2023, 03:54 AM
Hi,
Thanks for testing it. I don't know what's going on, as on my tests it runs well in both cases... (native and forced fps). However I don't hava access to a 144 Hz monitor, so I can't check if there's something funny going on with timings. Strangely, the tricky part is handling timing without vsync -that it's working for you-, as enabling vsync is the classic behavior so it should be harmless.
I've pushed an update to GitHub with getter/setter for window scaling factor at runtime, and a new function to return actual fps at runtime. I've reworked a bit test_fps.c and now it prints actual fps to the console.
What OS and graphics card are you using? I use Windows x64 with an Intel GMA500 chipset.
Thanks for testing it. I don't know what's going on, as on my tests it runs well in both cases... (native and forced fps). However I don't hava access to a 144 Hz monitor, so I can't check if there's something funny going on with timings. Strangely, the tricky part is handling timing without vsync -that it's working for you-, as enabling vsync is the classic behavior so it should be harmless.
I've pushed an update to GitHub with getter/setter for window scaling factor at runtime, and a new function to return actual fps at runtime. I've reworked a bit test_fps.c and now it prints actual fps to the console.
What OS and graphics card are you using? I use Windows x64 with an Intel GMA500 chipset.