Skip to content

Commit 37bd665

Browse files
author
bors-servo
authored
Auto merge of #1441 - kvark:glyph-snap, r=glennw
Fixed snap rectangle for the glyph runs r? @glennw cc @mrobinson <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/webrender/1441) <!-- Reviewable:end -->
2 parents c97f898 + 6d91c35 commit 37bd665

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

webrender/res/ps_text_run.vs.glsl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ void main(void) {
2323
prim.z,
2424
prim.layer,
2525
prim.task,
26-
local_rect);
26+
prim.local_rect);
2727
vLocalPos = vi.local_pos;
2828
vec2 f = (vi.local_pos.xy / vi.local_pos.z - local_rect.p0) / local_rect.size;
2929
#else
@@ -32,7 +32,7 @@ void main(void) {
3232
prim.z,
3333
prim.layer,
3434
prim.task,
35-
local_rect);
35+
prim.local_rect);
3636
vec2 f = (vi.local_pos - local_rect.p0) / local_rect.size;
3737
#endif
3838

0 commit comments

Comments
 (0)