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:
@@ -262,7 +262,7 @@ IconView::UpdateIcon()
|
|||||||
{
|
{
|
||||||
if (fBitmap == NULL)
|
if (fBitmap == NULL)
|
||||||
#ifdef HAIKU_TARGET_PLATFORM_HAIKU
|
#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
|
#else
|
||||||
fBitmap = new BBitmap(BRect(0, 0, 31, 31), B_CMAP8);
|
fBitmap = new BBitmap(BRect(0, 0, 31, 31), B_CMAP8);
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user