diff options
Diffstat (limited to 'src/gui/painting/qdrawhelper_p.h')
-rw-r--r-- | src/gui/painting/qdrawhelper_p.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/gui/painting/qdrawhelper_p.h b/src/gui/painting/qdrawhelper_p.h index a86d48cf7a..08bc0776f7 100644 --- a/src/gui/painting/qdrawhelper_p.h +++ b/src/gui/painting/qdrawhelper_p.h @@ -46,6 +46,7 @@ // #include "QtCore/qglobal.h" +#include "QtCore/qmath.h" #include "QtGui/qcolor.h" #include "QtGui/qpainter.h" #include "QtGui/qimage.h" @@ -55,7 +56,6 @@ #endif #include "private/qrasterdefs_p.h" #include <private/qsimd_p.h> -#include <private/qmath_p.h> QT_BEGIN_NAMESPACE @@ -666,11 +666,6 @@ static Q_ALWAYS_INLINE uint qAlphaRgb30(uint c) return a; } - -// FIXME: Remove when all Qt modules have stopped using PREMUL and INV_PREMUL -#define PREMUL(x) qPremultiply(x) -#define INV_PREMUL(p) qUnpremultiply(p) - struct quint24 { quint24(uint value); operator uint() const; |