forked from void-linux/void-packages
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
also fix comparision error. ref: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/3976#note_1079639 closes void-linux#30125.
- Loading branch information
1 parent
e7403fd
commit fb0437f
Showing
2 changed files
with
16 additions
and
4 deletions.
There are no files selected for viewing
12 changes: 12 additions & 0 deletions
12
srcpkgs/graphene/patches/0001-fix-comparision-in-graphene_ray_intersect_box.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
diff --git src/graphene-ray.c src/graphene-ray.c | ||
index 66c3393..9151300 100644 | ||
--- src/graphene-ray.c | ||
+++ src/graphene-ray.c | ||
@@ -563,7 +563,7 @@ graphene_ray_intersect_box (const graphene_ray_t *r, | ||
#else | ||
if (ty_min > tx_min || fpclassify (tx_min) == FP_NAN) | ||
tx_min = ty_min; | ||
- if (ty_max > tx_max || fpclassify (tx_max) == FP_NAN) | ||
+ if (ty_max < tx_max || fpclassify (tx_max) == FP_NAN) | ||
tx_max = ty_max; | ||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters