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:
Stephan Aßmus
2005-12-21 11:22:48 +00:00
parent 464f836807
commit 28f0e47c1a
+3
View File
@@ -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