Researched and removed a TODO item
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8358 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
30d6c7b854
commit
61c93e14bc
@ -115,8 +115,8 @@ valid_rect(clipping_rect rect)
|
||||
static inline bool
|
||||
rects_intersect(clipping_rect rectA, clipping_rect rectB)
|
||||
{
|
||||
// TODO: should we skip that check and let the caller do this
|
||||
// kind of work ?
|
||||
// We behave like BRect::Intersects() does:
|
||||
// we return false if one of the two rects is not valid
|
||||
if (!valid_rect(rectA) || !valid_rect(rectB))
|
||||
return false;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user