uxtheme: GetObject() already returns a DIB's absolute height.
This commit is contained in:
parent
724026dc5f
commit
d8c13bc5db
|
@ -1093,7 +1093,7 @@ static BOOL prepare_alpha (HBITMAP bmp, BOOL* hasAlpha)
|
|||
|
||||
*hasAlpha = TRUE;
|
||||
p = dib.dsBm.bmBits;
|
||||
n = abs(dib.dsBmih.biHeight) * dib.dsBmih.biWidth;
|
||||
n = dib.dsBmih.biHeight * dib.dsBmih.biWidth;
|
||||
/* AlphaBlend() wants premultiplied alpha, so do that now */
|
||||
while (n-- > 0)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue