Skip to content

scene/surfaceitem: prevent division by zero

Vlad Zahorodnii requested to merge work/cherry-pick-41aeecbb into Plasma/6.0

If the steady_clock's resolution is very limited, now - m_lastDamage might be zero, so enforce a minimum time of 10us (or 100'000 fps)

(cherry picked from commit 41aeecbb)

Merge request reports