SM_SDL_OrderedDither -> RageSurfaceUtils::OrderedDither

SM_SDL_ErrorDiffusionDither -> RageSurfaceUtils::ErrorDiffusionDither
(these have nothing to do with SDL; I'd rename the files but I hate
losing CVS history)
This commit is contained in:
Glenn Maynard
2004-08-28 09:09:34 +00:00
parent 01ed84e315
commit 3d3cbc73e5
4 changed files with 10 additions and 7 deletions
+2 -2
View File
@@ -383,9 +383,9 @@ void BannerCache::CacheBannerInternal( CString BannerPath )
RageSurface *dst = CreateSurface( img->w, img->h, 16,
0x7C00, 0x03E0, 0x001F, 0x8000 );
/* SM_SDL_OrderedDither is still faster than SM_SDL_ErrorDiffusionDither, and
/* OrderedDither is still faster than ErrorDiffusionDither, and
* these images are very small and only displayed briefly. */
SM_SDL_OrderedDither(img, dst);
RageSurfaceUtils::OrderedDither( img, dst );
delete img;
img = dst;
}