mirror of
https://bitbucket.org/smil3y/katie.git
synced 2025-02-24 19:02:59 +00:00
move variable closer to the scope it is used in in blendUntransformed()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
9e3f5e8cd3
commit
89d5491bdb
1 changed files with 1 additions and 1 deletions
|
@ -3027,8 +3027,8 @@ static void QT_FASTCALL blendUntransformed(qrgb565 *dest, const qrgb565 *src,
|
|||
Q_ASSERT(coverage > 0 && coverage < 255);
|
||||
|
||||
const quint8 alpha = qrgb565::alpha(coverage);
|
||||
const quint8 ialpha = qrgb565::ialpha(coverage);
|
||||
if (alpha) {
|
||||
const quint8 ialpha = qrgb565::ialpha(coverage);
|
||||
for (int i = 0; i < length; ++i)
|
||||
interpolate_pixel(dest[i], ialpha, src[i], alpha);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue