Author: fireball
Date: Tue Aug 4 16:07:15 2009
New Revision: 42381
URL:
http://svn.reactos.org/svn/reactos?rev=42381&view=rev
Log:
- Uncomment missing surface unlocks.
Modified:
branches/arwinss/reactos/subsystems/win32/win32k/eng/engblt.c
branches/arwinss/reactos/subsystems/win32/win32k/eng/engpoint.c
Modified: branches/arwinss/reactos/subsystems/win32/win32k/eng/engblt.c
URL:
http://svn.reactos.org/svn/reactos/branches/arwinss/reactos/subsystems/win3…
==============================================================================
--- branches/arwinss/reactos/subsystems/win32/win32k/eng/engblt.c [iso-8859-1] (original)
+++ branches/arwinss/reactos/subsystems/win32/win32k/eng/engblt.c [iso-8859-1] Tue Aug 4
16:07:15 2009
@@ -146,8 +146,8 @@
}
}
- //if (psurfPattern)
- // SURFACE_UnlockSurface(psurfPattern);
+ if (psurfPattern)
+ SURFACE_Unlock(psurfPattern);
return TRUE;
}
@@ -228,7 +228,7 @@
/* Pattern brush */
if (psurfPattern != NULL)
{
- //SURFACE_UnlockSurface(psurfPattern);
+ SURFACE_Unlock(psurfPattern);
}
return Result;
Modified: branches/arwinss/reactos/subsystems/win32/win32k/eng/engpoint.c
URL:
http://svn.reactos.org/svn/reactos/branches/arwinss/reactos/subsystems/win3…
==============================================================================
--- branches/arwinss/reactos/subsystems/win32/win32k/eng/engpoint.c [iso-8859-1]
(original)
+++ branches/arwinss/reactos/subsystems/win32/win32k/eng/engpoint.c [iso-8859-1] Tue Aug
4 16:07:15 2009
@@ -291,7 +291,7 @@
pgp->psurfColor->pvBits = 0;
EngDeleteSurface(pgp->psurfColor->hsurf);
- //SURFACE_ShareUnlockSurface(pgp->psurfColor);
+ SURFACE_ShareUnlock(pgp->psurfColor);
pgp->psurfColor = NULL;
}
@@ -302,14 +302,14 @@
pgp->psurfMask->pvBits = 0;
EngDeleteSurface(pgp->psurfMask->hsurf);
- //SURFACE_ShareUnlockSurface(pgp->psurfMask);
+ SURFACE_ShareUnlock(pgp->psurfMask);
pgp->psurfMask = NULL;
}
if (pgp->psurfSave != NULL)
{
EngDeleteSurface(pgp->psurfSave->hsurf);
- //SURFACE_ShareUnlockSurface(pgp->psurfSave);
+ SURFACE_ShareUnlock(pgp->psurfSave);
pgp->psurfSave = NULL;
}