Fixes fps decoration output on canvas on macOS.
Before:
After:
Works around a QT bug; I tried glFinish() and the like to no avail.
For all platforms: limits the fps output to one decimal place.
Lint Skipped |
Unit Tests Skipped |
@alvinhochun Doesn't seem to be officially reported yet, though it popped up in the forums:
https://forum.qt.io/topic/77307/qpainter-draw-text-renders-the-text-into-some-weird-characters
There have been graphics driver problems reported with this before:
Hm, I just realized that these links both says the issue only appears on Windows and works fine on Linux and OS X, but you have it on OS X... Would it be fine to just enable the fix for all platforms?
@woltherav says that this is needed on Linux and Windows as well, so I'll update this to get enabled on all platforms
If anything I'd say just make a new patch based on master, it'd get messy if you try to change this review since it's already committed and closed.