Skip to content

scene: Make paintScreen() clip the damage region

Vlad Zahorodnii requested to merge work/zzag/scene-paint-screen-clip into master

paintScreen() already tries to ensure that the damage region doesn't go outside the scene geometry. With this change, it will try to clip the damage region to the render target rect, which saves us an extra region intersection and simplifies code that calls paintScreen().

Merge request reports