Format
This commit is contained in:
parent
6de3237687
commit
3553fa2c01
1 changed files with 2 additions and 1 deletions
|
|
@ -541,7 +541,8 @@ impl SubsurfaceState {
|
|||
sorted_subsurfaces.sort_by(|a, b| a.3.cmp(&b.3));
|
||||
|
||||
// Attach buffers to subsurfaces, set viewports, and commit.
|
||||
'outer: for (i, subsurface) in sorted_subsurfaces.iter().enumerate() {
|
||||
'outer: for (i, subsurface) in sorted_subsurfaces.iter().enumerate()
|
||||
{
|
||||
for prev in sorted_subsurfaces[0..i].iter().rev() {
|
||||
if prev.0 == subsurface.0 {
|
||||
// Fist surface that has `z` greater than 0, so place above parent,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue