Skip to content
This repository was archived by the owner on Jul 9, 2025. It is now read-only.

Commit 293221b

Browse files
committed
Bug 1690319 - Remove integer comparison workaround in fetch_clip_area. r=mstange
This removes the workaround from servo/webrender#2864 The root cause of that has been identified as bug 1690027. Differential Revision: https://phabricator.services.mozilla.com/D103797
1 parent 605cbc1 commit 293221b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gfx/wr/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)