no longer needed

This commit is contained in:
Glenn Maynard
2004-08-28 09:12:04 +00:00
parent 3d3cbc73e5
commit fd6eca7ffb
-4
View File
@@ -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 );