summaryrefslogtreecommitdiff
path: root/surface.c
diff options
context:
space:
mode:
authorAlexander Orzechowski <[email protected]>2022-08-16 07:06:17 -0400
committerAlexander Orzechowski <[email protected]>2022-08-19 16:18:46 -0400
commit59db20b014320e86bc047c81c8eae6511a10d09a (patch)
tree372612cab51e9392ce63feae6542b81c320be542 /surface.c
parent4fd0b08bf3c3f2da2a1c89dd54f25553a43ea3a6 (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 'surface.c')
0 files changed, 0 insertions, 0 deletions