mirror of
https://github.com/servo/servo.git
synced 2025-08-16 10:55:34 +01:00
Update webrender to get clip_shared changes.
This commit is contained in:
parent
f96718d03d
commit
6925c6246f
13 changed files with 60 additions and 61 deletions
|
@ -15,11 +15,7 @@ void main(void) {
|
|||
vPos = vi.local_clamped_pos;
|
||||
#endif
|
||||
|
||||
vClipRect = vec4(rect.clip.rect.xy, rect.clip.rect.xy + rect.clip.rect.zw);
|
||||
vClipRadius = vec4(rect.clip.top_left.outer_inner_radius.x,
|
||||
rect.clip.top_right.outer_inner_radius.x,
|
||||
rect.clip.bottom_right.outer_inner_radius.x,
|
||||
rect.clip.bottom_left.outer_inner_radius.x);
|
||||
write_clip(rect.clip);
|
||||
|
||||
vColor = rect.color;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue