mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-02-12 11:19:08 -05:00
build: update qt qpaint non determinism patch for 5.12.10
This commit is contained in:
parent
6093ae4d30
commit
550ed1bed2
1 changed files with 2 additions and 2 deletions
|
@ -22,7 +22,7 @@ diff --git a/qtbase/src/gui/painting/qpaintengine_raster.cpp b/qtbase/src/gui/pa
|
||||||
index 92ab6e8375..f018009e0b 100644
|
index 92ab6e8375..f018009e0b 100644
|
||||||
--- a/qtbase/src/gui/painting/qpaintengine_raster.cpp
|
--- a/qtbase/src/gui/painting/qpaintengine_raster.cpp
|
||||||
+++ b/qtbase/src/gui/painting/qpaintengine_raster.cpp
|
+++ b/qtbase/src/gui/painting/qpaintengine_raster.cpp
|
||||||
@@ -3971,22 +3971,23 @@ static const QSpan *qt_intersect_spans(const QClipData *clip, int *currentClip,
|
@@ -4128,22 +4128,23 @@ static const QSpan *qt_intersect_spans(const QClipData *clip, int *currentClip,
|
||||||
const QSpan *clipEnd = clip->m_spans + clip->count;
|
const QSpan *clipEnd = clip->m_spans + clip->count;
|
||||||
|
|
||||||
while (available && spans < end ) {
|
while (available && spans < end ) {
|
||||||
|
@ -51,7 +51,7 @@ index 92ab6e8375..f018009e0b 100644
|
||||||
|
|
||||||
int sx1 = spans->x;
|
int sx1 = spans->x;
|
||||||
int sx2 = sx1 + spans->len;
|
int sx2 = sx1 + spans->len;
|
||||||
@@ -4005,7 +4006,7 @@ static const QSpan *qt_intersect_spans(const QClipData *clip, int *currentClip,
|
@@ -4162,7 +4163,7 @@ static const QSpan *qt_intersect_spans(const QClipData *clip, int *currentClip,
|
||||||
if (len) {
|
if (len) {
|
||||||
out->x = qMax(sx1, cx1);
|
out->x = qMax(sx1, cx1);
|
||||||
out->len = qMin(sx2, cx2) - out->x;
|
out->len = qMin(sx2, cx2) - out->x;
|
||||||
|
|
Loading…
Add table
Reference in a new issue