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:
parent
924b7ab22c
commit
48c0335055
@ -77,6 +77,8 @@ namespace agg
|
||||
BRect cb = m_region->RectAt(0);
|
||||
m_ren.clip_box_naked(cb.left, cb.top, cb.right, cb.bottom);
|
||||
}
|
||||
else
|
||||
m_ren.clip_box_naked(0, 0, -1, -1);
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user