gdi32: Fix dibdrv_PutImage for the selected bitmap case.
This commit is contained in:
parent
3a9fa90257
commit
37423cec7c
|
@ -542,7 +542,10 @@ static DWORD dibdrv_PutImage( PHYSDEV dev, HBITMAP hbitmap, HRGN clip, BITMAPINF
|
|||
dib = &stand_alone;
|
||||
}
|
||||
else
|
||||
{
|
||||
pdev = get_dibdrv_pdev( dev );
|
||||
dib = &pdev->dib;
|
||||
}
|
||||
|
||||
if (info->bmiHeader.biPlanes != 1) goto update_format;
|
||||
if (info->bmiHeader.biBitCount != dib->bit_count) goto update_format;
|
||||
|
|
Loading…
Reference in New Issue