[SDL] 8-bit to 8-bit blits

Gregory Smith wolfy at treellama.org
Sun Jun 25 19:00:22 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?

Gregory




More information about the SDL mailing list