mirror of
https://github.com/italicsjenga/vello.git
synced 2025-01-10 12:41:30 +11:00
Fix draw test
We'll revert this later, but for now trying to keep tests green.
This commit is contained in:
parent
49c3a3923b
commit
75496f5e67
|
@ -142,8 +142,8 @@ impl DrawTestData {
|
|||
fn reduce_tag(tag: u32) -> (u32, u32) {
|
||||
match tag {
|
||||
ELEMENT_FILLCOLOR | ELEMENT_FILLLINGRADIENT | ELEMENT_FILLIMAGE => (1, 0),
|
||||
ELEMENT_BEGINCLIP => (1, 1),
|
||||
ELEMENT_ENDCLIP => (0, 1),
|
||||
ELEMENT_BEGINCLIP | ELEMENT_ENDCLIP => (1, 1),
|
||||
// TODO: ENDCLIP will become (0, 1)
|
||||
_ => (0, 0),
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue