From fd6eca7ffb87668c3001ff75aad986bf5794666b Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Sat, 28 Aug 2004 09:12:04 +0000 Subject: [PATCH] no longer needed --- stepmania/src/RageBitmapTexture.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/stepmania/src/RageBitmapTexture.cpp b/stepmania/src/RageBitmapTexture.cpp index c754e5eb07..1b3f5320f5 100644 --- a/stepmania/src/RageBitmapTexture.cpp +++ b/stepmania/src/RageBitmapTexture.cpp @@ -187,10 +187,6 @@ void RageBitmapTexture::Create() /* Bits of alpha in the source: */ int src_alpha_bits = 8 - img->format->Aloss; - /* Aloss is wrong when BytesPerPixel == 1. */ - if( img->format->BytesPerPixel == 1 ) - src_alpha_bits = 8; - /* Don't use more than we were hinted to. */ src_alpha_bits = min( actualID.iAlphaBits, src_alpha_bits );