diff options
author | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2018-03-13 11:23:19 +0100 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2018-03-13 23:03:53 +0000 |
commit | b64ec6687e2edd0dc1181bbe52959c8945952e84 (patch) | |
tree | afd1c9bd4caad2811e42026a48ef0af800da0ac8 /src/gui/painting/qdrawhelper_p.h | |
parent | 21435e7d0400cf9d7bc24c66ef7275efe5f3398b (diff) |
Add generic optimized rectfill methods
Also makes the qt_rectfill_quint16 actually work with any uint16 format
Change-Id: Ibb3deed54ee1a0a86b14d5349c95f106ced057f7
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
Diffstat (limited to 'src/gui/painting/qdrawhelper_p.h')
-rw-r--r-- | src/gui/painting/qdrawhelper_p.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/painting/qdrawhelper_p.h b/src/gui/painting/qdrawhelper_p.h index bf395ca595..4604e0f8af 100644 --- a/src/gui/painting/qdrawhelper_p.h +++ b/src/gui/painting/qdrawhelper_p.h @@ -784,6 +784,7 @@ static Q_ALWAYS_INLINE uint qAlphaRgb30(uint c) } struct quint24 { + quint24() = default; quint24(uint value); operator uint() const; uchar data[3]; |