summaryrefslogtreecommitdiff
path: root/src/modules/sparkler/spark.c
diff options
context:
space:
mode:
authorVito Caputo <vcaputo@pengaru.com>2022-11-12 16:58:25 -0800
committerVito Caputo <vcaputo@pengaru.com>2022-11-12 16:58:25 -0800
commite78790651b5cd061bce1214790748ff51d3e62fe (patch)
treefddf3d6b10cd31d62028d4c7899011ad6d730cbe /src/modules/sparkler/spark.c
parentd5953892db5729fec6ffd5d8a42456c514782de4 (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 'src/modules/sparkler/spark.c')
0 files changed, 0 insertions, 0 deletions
© All Rights Reserved