This reverts commit
74b27c74af220e30fef274e07f8ad4f19430d217.
This patch breaks Stroke example. 1 line drawings...
There is a possibility that less 1 (i.e: 0.5) width axis-aligned line drawings...
So logically "&&" is correct.
Change-Id: Ia98622d7df464f55a255a35ccb37fc9664ed6954
bbox.max.x = min(bbox.max.x, clip.w);
bbox.max.y = min(bbox.max.y, clip.h);
- if (xMax - xMin < 1 || yMax - yMin < 1) return false;
+ if (xMax - xMin < 1 && yMax - yMin < 1) return false;
return true;
}
bbox.min.y = yMin >> 6;
bbox.max.y = (yMax + 63) >> 6;
- if (xMax - xMin < 1 || yMax - yMin < 1) return false;
+ if (xMax - xMin < 1 && yMax - yMin < 1) return false;
return true;
}