DiskProbe also used B_RGB32 instead of B_RGBA32 and would therefore display a black background on the icon.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26541 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Michael Lotz 2008-07-21 12:28:14 +00:00
parent 167caf601e
commit 22e1bd0701

View File

@ -262,7 +262,7 @@ IconView::UpdateIcon()
{
if (fBitmap == NULL)
#ifdef HAIKU_TARGET_PLATFORM_HAIKU
fBitmap = new BBitmap(BRect(0, 0, 31, 31), B_RGB32);
fBitmap = new BBitmap(BRect(0, 0, 31, 31), B_RGBA32);
#else
fBitmap = new BBitmap(BRect(0, 0, 31, 31), B_CMAP8);
#endif