This commit is contained in:
Glenn Maynard
2004-09-05 07:23:25 +00:00
parent c8e52ea1ac
commit d49851d12f
+1 -1
View File
@@ -319,7 +319,7 @@ int RageSurfaceUtils::FindSurfaceTraits( const RageSurface *img )
bool bHaveNonOpaque = false;
for( int c = 0; !bHaveNonOpaque && c < img->format->palette->ncolors; ++c )
{
if( img->format->palette->colors[c].a != 256 )
if( img->format->palette->colors[c].a != 0xFF )
bHaveNonOpaque = true;
}