[SDL] converting 8bit surface to 32bit surface

Sam Lantinga slouken at devolution.com
Tue Sep 25 20:08:07 PDT 2007


> i am working with an 8 bit surface for part of my application.  the  
> 8bit surface needs to be blitted or drawn to the 32 bit surface about  
> 60 frames per second.  i was trying to use SDL_BlitSurface without  
> converting but was getting an error.

This should work, what error were you getting?

See ya,
	-Sam Lantinga, Lead Software Engineer, Blizzard Entertainment


More information about the SDL mailing list