diff options
author | Alexander Orzechowski <orzechowski.alexander@gmail.com> | 2022-08-16 07:06:17 -0400 |
---|---|---|
committer | Alexander Orzechowski <orzechowski.alexander@gmail.com> | 2022-08-19 16:18:46 -0400 |
commit | 6d1b8b376d1e4a5e1b4b07e53487533711988136 (patch) | |
tree | 0799ef5d06c7bac761dd7c488a2b841f67db6291 /include/util | |
parent | 4d4f823263031cbef06f51547a5fe476e2eb5e38 (diff) |
wlr_scene: Only enable black rect optimization if culling is enabled
If culling is not enabled, there is no longer any guarantee that the
elements behind the rect won't be rendered. We must render the black rect
in all circumstances to cover up anything rendered.
This fixes the WLR_SCENE_DISABLE_VISIBILTY option.
Diffstat (limited to 'include/util')
0 files changed, 0 insertions, 0 deletions