mirror of
https://github.com/reactos/reactos.git
synced 2025-02-25 01:39:30 +00:00
- Lock the surface even for GDI blits in IntEngBitBlt, because it mustn't be simulantously accessed.
svn path=/trunk/; revision=9014
This commit is contained in:
parent
f38bef7c32
commit
5a528bd57a
1 changed files with 3 additions and 1 deletions
|
@ -16,7 +16,7 @@
|
||||||
* along with this program; if not, write to the Free Software
|
* along with this program; if not, write to the Free Software
|
||||||
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||||
*/
|
*/
|
||||||
/* $Id: bitblt.c,v 1.46 2004/04/07 16:38:27 weiden Exp $
|
/* $Id: bitblt.c,v 1.47 2004/04/07 19:57:43 navaraf Exp $
|
||||||
*
|
*
|
||||||
* COPYRIGHT: See COPYING in the top level directory
|
* COPYRIGHT: See COPYING in the top level directory
|
||||||
* PROJECT: ReactOS kernel
|
* PROJECT: ReactOS kernel
|
||||||
|
@ -571,9 +571,11 @@ IntEngBitBlt(SURFOBJ *DestObj,
|
||||||
|
|
||||||
if (! ret)
|
if (! ret)
|
||||||
{
|
{
|
||||||
|
IntLockGDIDriver(DestGDI);
|
||||||
ret = EngBitBlt(DestObj, SourceObj, Mask, ClipRegion, ColorTranslation,
|
ret = EngBitBlt(DestObj, SourceObj, Mask, ClipRegion, ColorTranslation,
|
||||||
&OutputRect, &InputPoint, MaskOrigin, Brush, BrushOrigin,
|
&OutputRect, &InputPoint, MaskOrigin, Brush, BrushOrigin,
|
||||||
Rop4);
|
Rop4);
|
||||||
|
IntUnLockGDIDriver(DestGDI);
|
||||||
}
|
}
|
||||||
|
|
||||||
MouseSafetyOnDrawEnd(DestObj, DestGDI);
|
MouseSafetyOnDrawEnd(DestObj, DestGDI);
|
||||||
|
|
Loading…
Reference in a new issue