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:
@@ -512,7 +512,7 @@ ServerWindow::CreateLayerTree(BPrivate::LinkReceiver &link, Layer **_parent)
|
|||||||
// TODO: rework the clipping stuff to remove RootLayer dependency and then
|
// TODO: rework the clipping stuff to remove RootLayer dependency and then
|
||||||
// remove this hack:
|
// remove this hack:
|
||||||
if (fWinBorder->IsOffscreenWindow()) {
|
if (fWinBorder->IsOffscreenWindow()) {
|
||||||
newLayer->fVisible.Set(newLayer->fFrame);
|
newLayer->fDrawingRegion.Set(newLayer->fFrame);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (_parent) {
|
if (_parent) {
|
||||||
|
|||||||
Reference in New Issue
Block a user