Skip to content
Commit 1a6d8d26 authored by Xaver Hugl's avatar Xaver Hugl Committed by Vlad Zahorodnii
Browse files

scene/surfaceitem: prevent division by zero

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)
parent 9e4d6f43
Pipeline #599728 passed with stage
in 14 minutes and 14 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment