diff --git a/sc2/src/sc2code/libs/graphics/sdl/3do_blt.c b/sc2/src/sc2code/libs/graphics/sdl/3do_blt.c index 6a8b597cf..5e39eefbe 100644 --- a/sc2/src/sc2code/libs/graphics/sdl/3do_blt.c +++ b/sc2/src/sc2code/libs/graphics/sdl/3do_blt.c @@ -153,6 +153,7 @@ blt (PRECT pClipRect, PRIMITIVEPTR PrimPtr) DrawCommand.BlendNumerator = BlendNumerator; DrawCommand.BlendDenominator = BlendDenominator; + UnlockMutex (img->mutex); TFB_EnqueueDrawCommand(&DrawCommand); } else @@ -178,9 +179,8 @@ blt (PRECT pClipRect, PRIMITIVEPTR PrimPtr) ); UnlockMutex (dst_img->mutex); + UnlockMutex (img->mutex); } - - UnlockMutex (img->mutex); } static void