[SDL] converting 8bit surface to 32bit surface
matt hull
mattmatteh at mac.com
Sun Oct 21 14:06:53 PDT 2007
sorry for replying to an old email.
i tried it again and now it seems to work. i spent some time trying
to break it so i figure out what happened, but seems to work fine.
On Sep 25, 2007, at 10:08 PM, Sam Lantinga wrote:
>> 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
> _______________________________________________
> SDL mailing list
> SDL at lists.libsdl.org
> http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
More information about the SDL
mailing list