app_server: Fix drawing transformed BBitmaps...
...when the untransformed view rect is partially outside the view bounds. Untested.
This commit is contained in:
parent
569bd922a6
commit
b944cf31b1
@ -1428,7 +1428,7 @@ Painter::DrawBitmap(const ServerBitmap* bitmap, BRect bitmapRect,
|
||||
{
|
||||
CHECK_CLIPPING
|
||||
|
||||
BRect touched = _Clipped(viewRect);
|
||||
BRect touched = TransformAlignAndClipRect(viewRect);
|
||||
|
||||
if (bitmap && bitmap->IsValid() && touched.IsValid()) {
|
||||
// the native bitmap coordinate system
|
||||
|
Loading…
Reference in New Issue
Block a user