fixed resetting alpha value when preparing envelope request
authorHolger Schemel <info@artsoft.org>
Wed, 6 Dec 2023 19:56:57 +0000 (20:56 +0100)
committerHolger Schemel <info@artsoft.org>
Wed, 6 Dec 2023 19:56:57 +0000 (20:56 +0100)
src/tools.c

index a3aa3c34a9cbe12bf06beeb3c58395e6ae420019..9a82f34625db6adc01bf345b869bf18514d1ffe8 100644 (file)
@@ -3056,6 +3056,8 @@ static void PrepareEnvelopeRequestToScreen(Bitmap *bitmap, int sx, int sy,
   SDLFreeBitmapTextures(request.bitmap);
   SDLCreateBitmapTextures(request.bitmap);
 
+  ResetBitmapAlpha(request.bitmap);
+
   // set envelope request run-time values
   request.sx = sx;
   request.sy = sy;