Compilation fix
If qreal is float, then android-clang compilation was breaking here Change-Id: Ieccc357ecbbea5cbb22a5808dd0791795240a985 Reviewed-by: Marc Mutz <marc.mutz@kdab.com>bb10
parent
4e19615907
commit
456f0e0f1a
|
|
@ -1790,7 +1790,7 @@ void QFontEngineFT::unlockAlphaMapForGlyph()
|
|||
static inline bool is2dRotation(const QTransform &t)
|
||||
{
|
||||
return qFuzzyCompare(t.m11(), t.m22()) && qFuzzyCompare(t.m12(), -t.m21())
|
||||
&& qFuzzyCompare(t.m11()*t.m22() - t.m12()*t.m21(), 1.0);
|
||||
&& qFuzzyCompare(t.m11()*t.m22() - t.m12()*t.m21(), qreal(1.0));
|
||||
}
|
||||
|
||||
QFontEngineFT::Glyph *QFontEngineFT::loadGlyphFor(glyph_t g,
|
||||
|
|
|
|||
Loading…
Reference in New Issue