Mercurial > mplayer.hg
diff Gui/bitmap/png/png.c @ 4237:1c9bca9154fd
'40bit' - es png nincs is :)
author | pontscho |
---|---|
date | Fri, 18 Jan 2002 12:26:57 +0000 |
parents | d237c5d4b216 |
children | 3473ca9ef158 |
line wrap: on
line diff
--- a/Gui/bitmap/png/png.c Fri Jan 18 11:05:29 2002 +0000 +++ b/Gui/bitmap/png/png.c Fri Jan 18 12:26:57 2002 +0000 @@ -113,7 +113,7 @@ } bf->Width=raw.Width; bf->Height=raw.Height; - bf->BPP=( raw.Depth * raw.Components ) + raw.Alpha; + bf->BPP=( raw.Depth * raw.Components ); bf->ImageSize=bf->Width * bf->Height * ( bf->BPP / 8 ); if ( ( bf->Image=malloc( bf->ImageSize ) ) == NULL ) {