Author: jgardou
Date: Thu Jun 17 01:34:52 2010
New Revision: 47797
URL:
http://svn.reactos.org/svn/reactos?rev=47797&view=rev
Log:
[WIN32K]
- apply r47787 to yarotows
Modified:
branches/reactos-yarotows/subsystems/win32/win32k/objects/dcobjs.c
Modified: branches/reactos-yarotows/subsystems/win32/win32k/objects/dcobjs.c
URL:
http://svn.reactos.org/svn/reactos/branches/reactos-yarotows/subsystems/win…
==============================================================================
--- branches/reactos-yarotows/subsystems/win32/win32k/objects/dcobjs.c [iso-8859-1]
(original)
+++ branches/reactos-yarotows/subsystems/win32/win32k/objects/dcobjs.c [iso-8859-1] Thu
Jun 17 01:34:52 2010
@@ -299,6 +299,16 @@
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);