[SDL] SDL_Surface->w and ->h fields not getting bitmap width and height in v1.2.8

Chris Dickinson chrisad2 at highstream.net
Thu Sep 15 10:51:09 PDT 2005


"Roberto Prieto" <dm2 at mi.madritel.es> wrote:

> I have to add an important note, that behaviour only occurs when my
> loaded surface has alpha per pixel information... maybe as it needs
> the alpha component...Does it always store the surface as 32bits? 

yes.
 
> I'm thinking that is possible that converted 32bits surface has the
> R,G,B pixel information stores as screen format...but it needs a
> 32bits pixel to store alpha...

exactly.




More information about the SDL mailing list