fix "icon alpha is 50% on WinXP". XP will use the 8 bits alpha of alpha in a 32bpp bitmap instead of the mask, so we need to keep all 8 bits around in the bitmap.

This commit is contained in:
Chris Danford
2005-10-02 21:46:26 +00:00
parent 1716a16035
commit edf332e075
+1 -1
View File
@@ -22,7 +22,7 @@ HICON IconFromSurface( const RageSurface *pSrcImg )
0x00FF0000,
0x0000FF00,
0x000000FF,
0x80000000 );
0xFF000000 );
RageSurfaceUtils::Blit( pSrcImg, pImg );
}