Use bilinear filtering for Haiku.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37098 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
46f84134a9
commit
c1c42eb1c5
|
@ -859,6 +859,11 @@ ThemeInterfaceView::SetScreenshot(BBitmap *shot)
|
|||
fScreenshotPane->ClearViewBitmap();
|
||||
if (shot)
|
||||
{
|
||||
#ifdef __HAIKU__
|
||||
fScreenshotPane->SetViewBitmap(shot, shot->Bounds(),
|
||||
fScreenshotPane->Bounds(), B_FOLLOW_ALL, B_FILTER_BITMAP_BILINEAR);
|
||||
|
||||
#else
|
||||
BBitmap scaled(fScreenshotPane->Bounds(), B_RGB32);
|
||||
status_t err = ENOSYS;
|
||||
#ifdef B_ZETA_VERSION
|
||||
|
@ -870,8 +875,10 @@ ThemeInterfaceView::SetScreenshot(BBitmap *shot)
|
|||
}
|
||||
else
|
||||
{
|
||||
fScreenshotPane->SetViewBitmap(shot, shot->Bounds(), fScreenshotPane->Bounds());
|
||||
fScreenshotPane->SetViewBitmap(shot, shot->Bounds(),
|
||||
fScreenshotPane->Bounds());
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
fScreenshotPane->Invalidate(fScreenshotPane->Bounds());
|
||||
|
|
Loading…
Reference in New Issue