[SDL] 8-bit to 8-bit blits
Sam Lantinga
slouken at devolution.com
Sun Jun 25 19:07:57 PDT 2006
> If my main video surface is 8-bits deep, and I try to SDL_BlitSurface
> from a different 8-bit surface (with a different color table) into the
> main surface, nothing gets copied. But if I call SDL_DisplayFormat
> first, it works fine.
> Is this to be expected? Is there a more efficient way to blit between
> 8-bit surfaces than creating an intermediary surface?
It should work. It sounds like one of the palettes is empty.
See ya,
-Sam Lantinga, Senior Software Engineer, Blizzard Entertainment
More information about the SDL
mailing list