a quick fix for offscreen layers drawing region, ie BitmapDrawing works again
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14937 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
07184a9e61
commit
8f90c77db9
@ -512,7 +512,7 @@ ServerWindow::CreateLayerTree(BPrivate::LinkReceiver &link, Layer **_parent)
|
||||
// TODO: rework the clipping stuff to remove RootLayer dependency and then
|
||||
// remove this hack:
|
||||
if (fWinBorder->IsOffscreenWindow()) {
|
||||
newLayer->fVisible.Set(newLayer->fFrame);
|
||||
newLayer->fDrawingRegion.Set(newLayer->fFrame);
|
||||
}
|
||||
|
||||
if (_parent) {
|
||||
|
Loading…
Reference in New Issue
Block a user