Skip to content
Commit 73945420 authored by Matthias Dahl's avatar Matthias Dahl Committed by David Edmundson
Browse files

scene: Pad damage if scale factor is fractional

Floating point arithmetic and/or the use of GL_LINEAR in the pipeline,
may result in visual glitches due to rounding (errors). As a short-term
fix until a proper (more involved) solution is in place for Plasma 6,
pad the damage slightly in all directions to alleviate those effects.


(cherry picked from commit 56f6bab0)
parent 931f9400
Pipeline #427981 passed with stage
in 11 minutes and 42 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