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,
|
||||
((PGDIDEVICE)NewDC->pPDev)->GDIInfo.ulVertRes);
|
||||
IntGdiSelectVisRgn(hNewDC, hVisRgn);
|
||||
NtGdiDeleteObject(hVisRgn);
|
||||
|
||||
/* Initialize the DC state */
|
||||
DC_InitDC(hNewDC);
|
||||
|
@ -1994,7 +1993,6 @@ NtGdiSelectBitmap(
|
|||
hVisRgn = NtGdiCreateRectRgn(0, 0, pBmp->SurfObj.sizlBitmap.cx, pBmp->SurfObj.sizlBitmap.cy);
|
||||
BITMAPOBJ_UnlockBitmap(pBmp);
|
||||
IntGdiSelectVisRgn(hDC, hVisRgn);
|
||||
NtGdiDeleteObject(hVisRgn);
|
||||
|
||||
return hOrgBmp;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue