libimg: fix transparency in indexed png images.

git-svn-id: svn://kolibrios.org@8399 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Ivan Baravy 2020-12-13 21:26:28 +00:00
parent e001af7afe
commit eb01893ff6

View File

@ -280,7 +280,8 @@ end virtual
lodsd lodsd
dec esi dec esi
bswap eax bswap eax
shr eax, 8 mov al, 0xff
ror eax, 8
stosd stosd
jmp @b jmp @b
@@: @@:
@ -1142,4 +1143,4 @@ endl
xor eax,eax xor eax,eax
.quit: .quit:
ret ret
endp endp