Fix compile on Android
This is a workaround for a broken compiler Change-Id: I10c8c750caf56036419807ec4a2439bf14cf64d6 Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com>bb10
parent
660a615a37
commit
d88ec35b11
|
|
@ -386,13 +386,14 @@ static inline qreal qRadialDeterminant(qreal a, qreal b, qreal c)
|
|||
return (b * b) - (4 * a * c);
|
||||
}
|
||||
|
||||
extern void (*qt_memfill32)(quint32 *dest, quint32 value, int count);
|
||||
|
||||
template <class RadialFetchFunc> Q_STATIC_TEMPLATE_FUNCTION
|
||||
const uint * QT_FASTCALL qt_fetch_radial_gradient_template(uint *buffer, const Operator *op, const QSpanData *data,
|
||||
int y, int x, int length)
|
||||
{
|
||||
// avoid division by zero
|
||||
if (qFuzzyIsNull(op->radial.a)) {
|
||||
extern void (*qt_memfill32)(quint32 *dest, quint32 value, int count);
|
||||
qt_memfill32(buffer, 0, length);
|
||||
return buffer;
|
||||
}
|
||||
|
|
@ -696,7 +697,6 @@ void qt_memfill(T *dest, T value, int count);
|
|||
|
||||
template<> inline void qt_memfill(quint32 *dest, quint32 color, int count)
|
||||
{
|
||||
extern void (*qt_memfill32)(quint32 *dest, quint32 value, int count);
|
||||
qt_memfill32(dest, color, count);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue