Reverted change 16774 as stippi's wish. The offset should be ignored when drawing bitmaps, but it's obviously not, at least in some case.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16781 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
5d35aa2833
commit
e78c06d170
@ -828,8 +828,6 @@ BBitmap::InitObject(BRect bounds, color_space colorSpace, uint32 flags,
|
||||
|
||||
CleanUp();
|
||||
|
||||
bounds.OffsetTo(B_ORIGIN);
|
||||
|
||||
// check params
|
||||
if (!bounds.IsValid() || !bitmaps_support_space(colorSpace, NULL)) {
|
||||
error = B_BAD_VALUE;
|
||||
|
Loading…
Reference in New Issue
Block a user