mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-05 18:01:34 +00:00
windowscodecs: Fix copy_pixels when Y != 0.
This commit is contained in:
parent
c3ce7b5d63
commit
3d1bb79983
1 changed files with 1 additions and 1 deletions
|
@ -76,7 +76,7 @@ HRESULT copy_pixels(UINT bpp, const BYTE *srcbuffer,
|
|||
const BYTE *src;
|
||||
BYTE *dst;
|
||||
|
||||
src = srcbuffer + (row_offset / 8);
|
||||
src = srcbuffer + (row_offset / 8) + srcstride * rc->Y;
|
||||
dst = dstbuffer;
|
||||
for (row=0; row < rc->Height; row++)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue