fix B_SUBPIXEL_PRECISE usage, animation in BitmapDrawing is smooth again
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15635 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -65,6 +65,9 @@ ViewLayer::ViewLayer(BRect frame, const char* name,
|
||||
fFrame.top = float((int32)fFrame.top);
|
||||
fFrame.right = float((int32)fFrame.right);
|
||||
fFrame.bottom = float((int32)fFrame.bottom);
|
||||
|
||||
if (fDrawState)
|
||||
fDrawState->SetSubPixelPrecise(fFlags & B_SUBPIXEL_PRECISE);
|
||||
}
|
||||
|
||||
// destructor
|
||||
|
||||
Reference in New Issue
Block a user