mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 735178 - Add error tolerance values when sorting preserve-3d layers. r=roc
This commit is contained in:
parent
2ed9563c76
commit
6f0a2adcc3
@ -156,7 +156,7 @@ static LayerSortOrder CompareDepth(Layer* aOne, Layer* aTwo) {
|
||||
}
|
||||
}
|
||||
// If layers have the same depth keep the original order
|
||||
if (highest >= 0) {
|
||||
if (fabs(highest) < 0.1 || highest >= 0) {
|
||||
return ABeforeB;
|
||||
} else {
|
||||
return BBeforeA;
|
||||
|
Loading…
Reference in New Issue
Block a user