Jump to content

  • Log In with Google      Sign In   
  • Create Account


#Actualnoobsauce

Posted 23 July 2013 - 03:34 PM

It's where you start blitting an image on another image. Why does he write all the code to optimize the image? If use all 32 bit graphics do you even need to do that?

Thanks!

I think in Lazyfoo's case he was using 24 bit and converting them to 32. He wants his surfaces to be the same format as the frame buffer so it copies faster.

http://sdl.beuc.net/sdl.wiki/SDL_DisplayFormat

#2noobsauce

Posted 23 July 2013 - 03:31 PM

It's where you start blitting an image on another image.  Why does he write all the code to optimize the image?  If use all 32 bit graphics do you even need to do that?  
 
Thanks!

I think in Lazyfoo's case he was using 24 bit and converting them to 32. He wants his surfaces to be the same format as the frame buffer so it copies faster.

http://sdl.beuc.net/sdl.wiki/SDL_DisplayFormat

#1noobsauce

Posted 23 July 2013 - 03:30 PM

 


It's where you start blitting an image on another image.  Why does he write all the code to optimize the image?  If use all 32 bit graphics do you even need to do that?  
 
Thanks!

I think in Lazyfoo's case he was using 24 bit and converting them to 32. He wants his surfaces to be the same format as the frame buffer so it copies faster.

http://sdl.beuc.net/sdl.wiki/SDL_DisplayFormat

PARTNERS