VSync-like behaviour even tho it is off, but only when the App Window is focused
Simonrazer opened this issue · 3 comments
Describe the bug
Framerate of the application is limited to 60 FPS even though Vsync is off, but only if the app's Window is focused.
To Reproduce
Turn off VSync in your Project
Focus and Unfocus the Window
Observe the difference in FPS, it should be >60 when unfocused.
Expected behavior
There not to be a difference and the FPS to always be unlocked when VSync is off.
Screenshots

High FPS numbers: Window not in focus
Low: Window in focus
Execution Environment:
- Host system (where you compile your code): Win 10
- Target system (where you run your code): Win 10 Krom
- IDE used (if any): VS Code
- Kha revision: https://github.com/armory3d/Kha
Minimal example:
That's not the behavior I am seeing. Please don't open issues in my repositories that haven't been checked with my versions of Kha and Krom.
That's a shame. I switched to your beautiful version of Kha/Krom, and it's just as non-functional.
So why not create an issue about that?