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:
François Revol 2008-05-07 21:13:09 +00:00
parent 8b1e3b1af8
commit 45c2e6b8f3

View File

@ -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();
}
}