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:
@@ -115,8 +115,8 @@ valid_rect(clipping_rect rect)
|
|||||||
static inline bool
|
static inline bool
|
||||||
rects_intersect(clipping_rect rectA, clipping_rect rectB)
|
rects_intersect(clipping_rect rectA, clipping_rect rectB)
|
||||||
{
|
{
|
||||||
// TODO: should we skip that check and let the caller do this
|
// We behave like BRect::Intersects() does:
|
||||||
// kind of work ?
|
// we return false if one of the two rects is not valid
|
||||||
if (!valid_rect(rectA) || !valid_rect(rectB))
|
if (!valid_rect(rectA) || !valid_rect(rectB))
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user