Realtime Dithering

I know I asked this question last week, but I never got a response.

Does anyone know where I can look to see how to utilize the dithering
mechanism within SDL?

I searched the source code for several strings that might relate but was
not able to find anything.

Any help would be greatly appreciated.

Christian

Does anyone know where I can look to see how to utilize the dithering
mechanism within SDL?

I’m not sure there IS a dithering mechanism, and in so far that there
are facilities to convert to a lower bitdepth, they probably are geared
towards fast conversion rather than quality dithering.

Try SDL_ConvertSurface(), perhaps? Also, SDL_CreateRGBSurface() with a
lower bitdepth, and blit to it so SDL does an automatic conversion.

–ryan.