Use the view's Bounds() as target rect when drawing, so if the source is not QVGA it's stretched instead of just clipped.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25357 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -572,7 +572,7 @@ VideoConsumer::HandleEvent(const media_timed_event* event, bigtime_t lateness,
|
|||||||
*p = (*p >> 3) & 0x1f1f1f1f;
|
*p = (*p >> 3) & 0x1f1f1f1f;
|
||||||
}
|
}
|
||||||
|
|
||||||
fView->DrawBitmap(fBitmap[index]);
|
fView->DrawBitmap(fBitmap[index], fView->Bounds());
|
||||||
fWindow->Unlock();
|
fWindow->Unlock();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user