Fixed stupid Lock/Unlock bug
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@682 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
@@ -45,14 +45,14 @@ blt (PRECT pClipRect, PRIMITIVEPTR PrimPtr)
|
||||
|
||||
img = (TFB_Image *) ((BYTE *) SrcFramePtr + SrcFramePtr->DataOffs);
|
||||
|
||||
LockMutex (img->mutex);
|
||||
|
||||
if (TYPE_GET (_CurFramePtr->TypeIndexAndFlags) == SCREEN_DRAWABLE)
|
||||
{
|
||||
int x, y;
|
||||
BOOLEAN scaled, paletted, filled;
|
||||
TFB_Palette palette[256];
|
||||
|
||||
LockMutex (img->mutex);
|
||||
|
||||
x = pClipRect->corner.x - GetFrameHotX (_CurFramePtr);
|
||||
y = pClipRect->corner.y - GetFrameHotY (_CurFramePtr);
|
||||
scaled = filled = FALSE;
|
||||
|
||||
Reference in New Issue
Block a user