worked on Error diffusion dithering algorithm, but it doesn't end up looking much better than OrderedDither

This commit is contained in:
Chris Danford
2003-04-05 21:17:51 +00:00
parent 2cc91afd04
commit 0bb7164b91
5 changed files with 118 additions and 0 deletions
+1
View File
@@ -352,6 +352,7 @@ retry:
PixFmtMasks[pixfmt].masks[2], PixFmtMasks[pixfmt].masks[3]);
SM_SDL_OrderedDither(img, dst);
//SM_SDL_ErrorDiffusionDither(img, dst);
SDL_FreeSurface(img);
img = dst;
}