B_COLOR_8_BIT is deprecated
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17166 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -132,7 +132,7 @@ NormalPulseView::DetermineVendorAndProcessor()
|
||||
|
||||
// Initialize logo
|
||||
|
||||
fCpuLogo = new BBitmap(BRect(0, 0, 63, 62), B_COLOR_8_BIT);
|
||||
fCpuLogo = new BBitmap(BRect(0, 0, 63, 62), B_CMAP8);
|
||||
unsigned char *logo = BlankLogo;
|
||||
|
||||
#if __POWERPC__
|
||||
@@ -151,7 +151,7 @@ NormalPulseView::DetermineVendorAndProcessor()
|
||||
};
|
||||
#endif
|
||||
|
||||
fCpuLogo->SetBits(logo, fCpuLogo->BitsLength(), 0, B_COLOR_8_BIT);
|
||||
fCpuLogo->SetBits(logo, fCpuLogo->BitsLength(), 0, B_CMAP8);
|
||||
fHasBrandLogo = (logo != BlankLogo);
|
||||
|
||||
get_cpu_type(fVendor, sizeof(fVendor), fProcessor, sizeof(fProcessor));
|
||||
|
||||
Reference in New Issue
Block a user