Removed debugging code.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11439 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
367817c939
commit
b2086ea837
@ -37,18 +37,8 @@ Rasterizer::SetBitmap(int x, int y, BBitmap *bitmap, int pageHeight)
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
fprintf(stderr, "valid rect (%d, %d, %d, %d)\n",
|
|
||||||
fBounds.left, fBounds.top, fBounds.right, fBounds.bottom);
|
|
||||||
|
|
||||||
fWidth = fBounds.right - fBounds.left + 1;
|
fWidth = fBounds.right - fBounds.left + 1;
|
||||||
fHeight = fBounds.bottom - fBounds.top + 1;
|
fHeight = fBounds.bottom - fBounds.top + 1;
|
||||||
|
|
||||||
if (fWidth < 0 || fHeight < 0) {
|
|
||||||
fprintf(stderr, "Error: get_valid_rect returned an empty rect (%f, %f, %f, %f) -> (%d, %d, %d, %d)!",
|
|
||||||
bounds.left, bounds.top, bounds.right, bounds.bottom,
|
|
||||||
fBounds.left, fBounds.top, fBounds.right, fBounds.bottom);
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
fBPR = bitmap->BytesPerRow();
|
fBPR = bitmap->BytesPerRow();
|
||||||
fBits = (uchar*)bitmap->Bits();
|
fBits = (uchar*)bitmap->Bits();
|
||||||
|
Loading…
Reference in New Issue
Block a user