mirror of
https://github.com/reactos/reactos.git
synced 2024-07-05 12:15:46 +00:00
[WIN32K]
- apply r47787 to yarotows svn path=/branches/reactos-yarotows/; revision=47797
This commit is contained in:
parent
648fe9cf65
commit
3dbb216746
|
@ -299,6 +299,16 @@ NtGdiSelectBitmap(
|
|||
psurfBmp->SurfObj.sizlBitmap.cx,
|
||||
psurfBmp->SurfObj.sizlBitmap.cy);
|
||||
|
||||
if (psurfBmp->hSecure)
|
||||
{
|
||||
/* Set DIBSECTION attribute */
|
||||
pdcattr->ulDirty_ |= DC_DIBSECTION;
|
||||
}
|
||||
else
|
||||
{
|
||||
pdcattr->ulDirty_ &= ~DC_DIBSECTION;
|
||||
}
|
||||
|
||||
/* Release the exclusive lock */
|
||||
SURFACE_UnlockSurface(psurfBmp);
|
||||
|
||||
|
|
Loading…
Reference in a new issue