Skip to content

Commit 550ed1b

Browse files
committed
build: update qt qpaint non determinism patch for 5.12.10
1 parent 6093ae4 commit 550ed1b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

depends/patches/qt/fix_qpainter_non_determinism.patch

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ diff --git a/qtbase/src/gui/painting/qpaintengine_raster.cpp b/qtbase/src/gui/pa
2222
index 92ab6e8375..f018009e0b 100644
2323
--- a/qtbase/src/gui/painting/qpaintengine_raster.cpp
2424
+++ b/qtbase/src/gui/painting/qpaintengine_raster.cpp
25-
@@ -3971,22 +3971,23 @@ static const QSpan *qt_intersect_spans(const QClipData *clip, int *currentClip,
25+
@@ -4128,22 +4128,23 @@ static const QSpan *qt_intersect_spans(const QClipData *clip, int *currentClip,
2626
const QSpan *clipEnd = clip->m_spans + clip->count;
2727

2828
while (available && spans < end ) {
@@ -51,7 +51,7 @@ index 92ab6e8375..f018009e0b 100644
5151

5252
int sx1 = spans->x;
5353
int sx2 = sx1 + spans->len;
54-
@@ -4005,7 +4006,7 @@ static const QSpan *qt_intersect_spans(const QClipData *clip, int *currentClip,
54+
@@ -4162,7 +4163,7 @@ static const QSpan *qt_intersect_spans(const QClipData *clip, int *currentClip,
5555
if (len) {
5656
out->x = qMax(sx1, cx1);
5757
out->len = qMin(sx2, cx2) - out->x;

0 commit comments

Comments
 (0)