04-24-2023, 04:36 AM
(04-24-2023, 03:54 AM)megamarc Wrote: 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.
I use Windows 11, I also have the Intel Core i7 CPU graphics and an NVidia RTX 3050. I will try the new update and give you feedback.