Fixed mutex deadlock, from tamlin
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@316 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
@@ -153,6 +153,7 @@ blt (PRECT pClipRect, PRIMITIVEPTR PrimPtr)
|
|||||||
DrawCommand.BlendNumerator = BlendNumerator;
|
DrawCommand.BlendNumerator = BlendNumerator;
|
||||||
DrawCommand.BlendDenominator = BlendDenominator;
|
DrawCommand.BlendDenominator = BlendDenominator;
|
||||||
|
|
||||||
|
UnlockMutex (img->mutex);
|
||||||
TFB_EnqueueDrawCommand(&DrawCommand);
|
TFB_EnqueueDrawCommand(&DrawCommand);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
@@ -178,9 +179,8 @@ blt (PRECT pClipRect, PRIMITIVEPTR PrimPtr)
|
|||||||
);
|
);
|
||||||
|
|
||||||
UnlockMutex (dst_img->mutex);
|
UnlockMutex (dst_img->mutex);
|
||||||
}
|
|
||||||
|
|
||||||
UnlockMutex (img->mutex);
|
UnlockMutex (img->mutex);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|||||||
Reference in New Issue
Block a user