mirror of
https://github.com/servo/servo.git
synced 2025-08-17 03:15:34 +01:00
Update wr + shaders for local clip rect changes.
This commit is contained in:
parent
6f22251e65
commit
b646c57230
12 changed files with 83 additions and 25 deletions
|
@ -18,7 +18,7 @@ void main(void) {
|
|||
|
||||
#ifdef WR_FEATURE_TRANSFORM
|
||||
TransformVertexInfo vi = write_transform_vertex(image.info);
|
||||
vLocalRect = image.info.local_rect;
|
||||
vLocalRect = vi.clipped_local_rect;
|
||||
vLocalPos = vi.local_pos;
|
||||
vStretchSize = image.stretch_size.xy;
|
||||
#else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue