Fixed animated stickers cache

This commit is contained in:
RadRussianRus 2019-11-11 19:39:48 +03:00 committed by John Preston
parent 325e4af356
commit a196b0aba7
1 changed files with 1 additions and 1 deletions

View File

@ -70,7 +70,7 @@ void PremultiplyLine(uchar *dst, const uchar *src, int intsCount) {
#ifndef TDESKTOP_OFFICIAL_TARGET #ifndef TDESKTOP_OFFICIAL_TARGET
for (auto i = 0; i != intsCount; ++i) { for (auto i = 0; i != intsCount; ++i) {
dst[i] = qPremultiply(src[i]); udst[i] = qPremultiply(usrc[i]);
} }
#elif QT_VERSION < QT_VERSION_CHECK(5, 12, 0) #elif QT_VERSION < QT_VERSION_CHECK(5, 12, 0)
static const auto layout = &qPixelLayouts[QImage::Format_ARGB32]; static const auto layout = &qPixelLayouts[QImage::Format_ARGB32];