mirror of https://github.com/procxx/kepka.git
Fixed animated stickers cache
This commit is contained in:
parent
325e4af356
commit
a196b0aba7
|
@ -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];
|
||||||
|
|
Loading…
Reference in New Issue