mirror of
https://github.com/reactos/reactos.git
synced 2024-09-09 20:30:04 +00:00
Fix the rest too....
svn path=/trunk/; revision=33721
This commit is contained in:
parent
92d954c542
commit
d8b3f39eef
|
@ -842,7 +842,6 @@ IntGdiCreateDC(PUNICODE_STRING Driver,
|
||||||
hVisRgn = NtGdiCreateRectRgn(0, 0, ((PGDIDEVICE)NewDC->pPDev)->GDIInfo.ulHorzRes,
|
hVisRgn = NtGdiCreateRectRgn(0, 0, ((PGDIDEVICE)NewDC->pPDev)->GDIInfo.ulHorzRes,
|
||||||
((PGDIDEVICE)NewDC->pPDev)->GDIInfo.ulVertRes);
|
((PGDIDEVICE)NewDC->pPDev)->GDIInfo.ulVertRes);
|
||||||
IntGdiSelectVisRgn(hNewDC, hVisRgn);
|
IntGdiSelectVisRgn(hNewDC, hVisRgn);
|
||||||
NtGdiDeleteObject(hVisRgn);
|
|
||||||
|
|
||||||
/* Initialize the DC state */
|
/* Initialize the DC state */
|
||||||
DC_InitDC(hNewDC);
|
DC_InitDC(hNewDC);
|
||||||
|
@ -1994,7 +1993,6 @@ NtGdiSelectBitmap(
|
||||||
hVisRgn = NtGdiCreateRectRgn(0, 0, pBmp->SurfObj.sizlBitmap.cx, pBmp->SurfObj.sizlBitmap.cy);
|
hVisRgn = NtGdiCreateRectRgn(0, 0, pBmp->SurfObj.sizlBitmap.cx, pBmp->SurfObj.sizlBitmap.cy);
|
||||||
BITMAPOBJ_UnlockBitmap(pBmp);
|
BITMAPOBJ_UnlockBitmap(pBmp);
|
||||||
IntGdiSelectVisRgn(hDC, hVisRgn);
|
IntGdiSelectVisRgn(hDC, hVisRgn);
|
||||||
NtGdiDeleteObject(hVisRgn);
|
|
||||||
|
|
||||||
return hOrgBmp;
|
return hOrgBmp;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue