From edf332e075ace97ade883145f05554f02441ba7b Mon Sep 17 00:00:00 2001 From: Chris Danford Date: Sun, 2 Oct 2005 21:46:26 +0000 Subject: [PATCH] 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. --- stepmania/src/archutils/Win32/WindowIcon.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stepmania/src/archutils/Win32/WindowIcon.cpp b/stepmania/src/archutils/Win32/WindowIcon.cpp index 577ce07efe..2393517fcb 100644 --- a/stepmania/src/archutils/Win32/WindowIcon.cpp +++ b/stepmania/src/archutils/Win32/WindowIcon.cpp @@ -22,7 +22,7 @@ HICON IconFromSurface( const RageSurface *pSrcImg ) 0x00FF0000, 0x0000FF00, 0x000000FF, - 0x80000000 ); + 0xFF000000 ); RageSurfaceUtils::Blit( pSrcImg, pImg ); }