mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 19:45:39 +00:00
[WIN32K]
- apply r47787 to yarotows svn path=/branches/reactos-yarotows/; revision=47797
This commit is contained in:
parent
648fe9cf65
commit
3dbb216746
1 changed files with 10 additions and 0 deletions
|
@ -299,6 +299,16 @@ NtGdiSelectBitmap(
|
||||||
psurfBmp->SurfObj.sizlBitmap.cx,
|
psurfBmp->SurfObj.sizlBitmap.cx,
|
||||||
psurfBmp->SurfObj.sizlBitmap.cy);
|
psurfBmp->SurfObj.sizlBitmap.cy);
|
||||||
|
|
||||||
|
if (psurfBmp->hSecure)
|
||||||
|
{
|
||||||
|
/* Set DIBSECTION attribute */
|
||||||
|
pdcattr->ulDirty_ |= DC_DIBSECTION;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
pdcattr->ulDirty_ &= ~DC_DIBSECTION;
|
||||||
|
}
|
||||||
|
|
||||||
/* Release the exclusive lock */
|
/* Release the exclusive lock */
|
||||||
SURFACE_UnlockSurface(psurfBmp);
|
SURFACE_UnlockSurface(psurfBmp);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue