QRadialGradient: Distinguish shadowed variables

Change-Id: I4a16f949fe78b7b130af274288b27c4297cc81a6
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
This commit is contained in:
Robert Löhning 2024-12-17 17:22:53 +01:00
parent 42bd879e2b
commit efd0b6de12

View File

@ -393,7 +393,7 @@ const BlendType * QT_FASTCALL qt_fetch_radial_gradient_template(BlendType *buffe
return buffer;
}
const BlendType *b = buffer;
const BlendType *beginOfBuffer = buffer;
qreal rx = data->m21 * (y + qreal(0.5))
+ data->dx + data->m11 * (x + qreal(0.5));
qreal ry = data->m22 * (y + qreal(0.5))
@ -475,7 +475,7 @@ const BlendType * QT_FASTCALL qt_fetch_radial_gradient_template(BlendType *buffe
}
}
return b;
return beginOfBuffer;
}
template <class Simd>