mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
Fixed animated stickers cache
This commit is contained in:
parent
325e4af356
commit
a196b0aba7
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue