diff options
author | Luboš Luňák <l.lunak@collabora.com> | 2019-11-06 10:20:32 +0100 |
---|---|---|
committer | Luboš Luňák <l.lunak@collabora.com> | 2019-11-27 09:55:15 +0100 |
commit | 76ee0452b82f69f273526ba8a8c879ce17acb547 (patch) | |
tree | 7214402ffbcf122c6144d4f3d73db3536f095545 /vcl | |
parent | 4faf0c5a4a782478567d16f4941d5610c2f78ddb (diff) |
make visualbackendtest draw at more than 60FPS
Not much point in showing the FPS if there's an upper limit on it
and many backends can reach it.
Note that with SAL_USE_VCLPLUGIN=gen this needs also
SAL_HIGHPRIORITY_REPAINT=1 in order to get the maximum FPS.
Change-Id: I18705bae81585d46bcaad658cc0c0c2158d89c30
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/backendtest/VisualBackendTest.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/backendtest/VisualBackendTest.cxx b/vcl/backendtest/VisualBackendTest.cxx index 10000d79f671..b2818f42e675 100644 --- a/vcl/backendtest/VisualBackendTest.cxx +++ b/vcl/backendtest/VisualBackendTest.cxx @@ -489,7 +489,7 @@ IMPL_LINK_NOARG(VisualBackendTestWindow, updateHdl, Timer *, void) { if (mbAnimate) { - maUpdateTimer.SetTimeout(1000.0 / 60.0); + maUpdateTimer.SetTimeout(1.0); maUpdateTimer.Start(); Invalidate(); } |