Skip to content

scene/surfaceitem: prevent division by zero

Xaver Hugl requested to merge work/zamundaaa/div-by-zero into master

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)

Merge request reports