diff options
author | Vito Caputo <vcaputo@pengaru.com> | 2022-11-12 16:58:25 -0800 |
---|---|---|
committer | Vito Caputo <vcaputo@pengaru.com> | 2022-11-12 16:58:25 -0800 |
commit | e78790651b5cd061bce1214790748ff51d3e62fe (patch) | |
tree | fddf3d6b10cd31d62028d4c7899011ad6d730cbe /HACKING.txt | |
parent | d5953892db5729fec6ffd5d8a42456c514782de4 (diff) |
modules/compose: more robust texture preservation
The existing code only really cared about preserving the incoming
texture on behalf of the caller when the compose code itself was
doing something with the texture.
But there's scenarios where the underlying module being rendered
(or its descendants) might play with the texture, and in such a
situation when the outer compose wasn't involving a texture it'd
let the descandants installed texture leak out to the callers
making the texture apply more than one'd expect.
Arguably none of the modules should be missing restoration of the
incoming texture after installing+rendering with their own. But
with this change in place, compose will clean up after nested
modules leaking their texture up.
Diffstat (limited to 'HACKING.txt')
0 files changed, 0 insertions, 0 deletions