added a small safety check
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12556 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -77,6 +77,8 @@ namespace agg
|
|||||||
BRect cb = m_region->RectAt(0);
|
BRect cb = m_region->RectAt(0);
|
||||||
m_ren.clip_box_naked(cb.left, cb.top, cb.right, cb.bottom);
|
m_ren.clip_box_naked(cb.left, cb.top, cb.right, cb.bottom);
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
m_ren.clip_box_naked(0, 0, -1, -1);
|
||||||
}
|
}
|
||||||
|
|
||||||
//--------------------------------------------------------------------
|
//--------------------------------------------------------------------
|
||||||
|
|||||||
Reference in New Issue
Block a user