fix(ui): FPS counters flickering and reporting half framerates using Performance Overlay #87
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/perf-overlay"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The performance overlay and the status bar were both trying to reset the performance counters at the same time, which caused them to steal frames from each other. This resulted in half-framerate reporting and constant flickering. I've fixed this by caching the stats in GMainWindow so they only reset once per update.
I also moved the right column of the overlay down a bit so it isn't squished against the title as much, looking a bit cleaner.