Fix draw test

We'll revert this later, but for now trying to keep tests green.
This commit is contained in:
Raph Levien 2021-12-08 10:38:46 -08:00
parent 49c3a3923b
commit 75496f5e67

View file

@ -142,8 +142,8 @@ impl DrawTestData {
fn reduce_tag(tag: u32) -> (u32, u32) { fn reduce_tag(tag: u32) -> (u32, u32) {
match tag { match tag {
ELEMENT_FILLCOLOR | ELEMENT_FILLLINGRADIENT | ELEMENT_FILLIMAGE => (1, 0), ELEMENT_FILLCOLOR | ELEMENT_FILLLINGRADIENT | ELEMENT_FILLIMAGE => (1, 0),
ELEMENT_BEGINCLIP => (1, 1), ELEMENT_BEGINCLIP | ELEMENT_ENDCLIP => (1, 1),
ELEMENT_ENDCLIP => (0, 1), // TODO: ENDCLIP will become (0, 1)
_ => (0, 0), _ => (0, 0),
} }
} }