Skip to content
Commit 0c3a8e6f authored by Vlad Zahorodnii's avatar Vlad Zahorodnii
Browse files

scene: Make paintScreen() clip the damage region

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().
parent 648b2a5b
Pipeline #138162 passed with stage
in 15 minutes and 27 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