From ef47972465cf336508ae8984c0e5695108f06708 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Sun, 2 May 2004 03:51:25 +0000 Subject: [PATCH] use fast dither for banner cache --- stepmania/src/BannerCache.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/stepmania/src/BannerCache.cpp b/stepmania/src/BannerCache.cpp index df04d4c852..f32b44225b 100644 --- a/stepmania/src/BannerCache.cpp +++ b/stepmania/src/BannerCache.cpp @@ -389,7 +389,9 @@ void BannerCache::CacheBannerInternal( CString BannerPath ) SDL_Surface *dst = SDL_CreateRGBSurfaceSane(SDL_SWSURFACE, img->w, img->h, 16, 0x7C00, 0x03E0, 0x001F, 0x8000 ); - SM_SDL_ErrorDiffusionDither(img, dst); + /* SM_SDL_OrderedDither is still faster than SM_SDL_ErrorDiffusionDither, and + * these images are very small and only displayed briefly. */ + SM_SDL_OrderedDither(img, dst); SDL_FreeSurface( img ); img = dst; }