Skip to content

st/private: Multiply position in fb coordinates with resource scale

The framebuffer we use for rendering shadows is scaled by the resource scale, that means we also need to offset coordinates when translating them to the framebuffers coordinate system.

So far we forgot to do that when translating the framebuffer using the position of the actor, which lead to small rendering bugs of text-shadows for actors allocated at non-zero origins. To fix that, simply multiply those positions with the actors resource scale.

Merge request reports