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:
parent
8b1e3b1af8
commit
45c2e6b8f3
@ -572,7 +572,7 @@ VideoConsumer::HandleEvent(const media_timed_event* event, bigtime_t lateness,
|
||||
*p = (*p >> 3) & 0x1f1f1f1f;
|
||||
}
|
||||
|
||||
fView->DrawBitmap(fBitmap[index]);
|
||||
fView->DrawBitmap(fBitmap[index], fView->Bounds());
|
||||
fWindow->Unlock();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user