diff options
Diffstat (limited to 'src/gui/painting/qdrawhelper_sse_p.h')
-rw-r--r-- | src/gui/painting/qdrawhelper_sse_p.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/painting/qdrawhelper_sse_p.h b/src/gui/painting/qdrawhelper_sse_p.h index 81a5001fb3..494ee70fcb 100644 --- a/src/gui/painting/qdrawhelper_sse_p.h +++ b/src/gui/painting/qdrawhelper_sse_p.h @@ -127,7 +127,7 @@ inline void qt_bitmapblit16_sse_template(QRasterBuffer *rasterBuffer, const uchar *src, int width, int height, int stride) { - const quint16 c = qt_colorConvert<quint16, quint32>(color, 0); + const quint16 c = qConvertRgb32To16(color); quint16 *dest = reinterpret_cast<quint16*>(rasterBuffer->scanLine(y)) + x; const int destStride = rasterBuffer->bytesPerLine() / sizeof(quint16); |