changeset 4237:1c9bca9154fd

'40bit' - es png nincs is :)
author pontscho
date Fri, 18 Jan 2002 12:26:57 +0000
parents 0c809c541aa1
children 9eada2812ed3
files Gui/bitmap/png/png.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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 )
   {