Fix rounding error when creating QT_FT_Vector
This fixes a problem that QScanConverter::mergeLine didn't recognize lins as being the same (when they where), causing aliasing effects Task-number: QTBUG-36354 Change-Id: I29d92ddb4e867025541bdc6b294cfaca55c0d3e1 Reviewed-by: Gunnar Sletta <gunnar.sletta@jollamobile.com>bb10
parent
3aae3e81ef
commit
ae4e44644a
|
|
@ -48,7 +48,7 @@
|
|||
|
||||
QT_BEGIN_NAMESPACE
|
||||
|
||||
#define qreal_to_fixed_26_6(f) (int(f * 64))
|
||||
#define qreal_to_fixed_26_6(f) (qRound(f * 64))
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue