Skip to content

Commit 8cfbddd

Browse files
committed
Bug 1690319 - Remove integer comparison workaround in fetch_clip_area. r=mstange
This removes the workaround from servo#2864 The root cause of that has been identified as bug 1690027. Differential Revision: https://phabricator.services.mozilla.com/D103797 [ghsync] From https://hg.mozilla.org/mozilla-central/rev/18835f3f39365c75abed1f7db9b8dcdcfaf38f1b
1 parent ef5ed45 commit 8cfbddd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

webrender/res/render_task.glsl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ struct ClipArea {
9898
ClipArea fetch_clip_area(int index) {
9999
ClipArea area;
100100

101-
if (index >= CLIP_TASK_EMPTY) {
101+
if (index == CLIP_TASK_EMPTY) {
102102
RectWithSize rect = RectWithSize(vec2(0.0), vec2(0.0));
103103

104104
area.common_data = RenderTaskCommonData(rect, 0.0);

0 commit comments

Comments
 (0)