From 409606a4ce16949b8d7c0fb70a9488c7dae9b756 Mon Sep 17 00:00:00 2001 From: Holger Schemel Date: Wed, 6 Dec 2023 20:56:57 +0100 Subject: [PATCH] fixed resetting alpha value when preparing envelope request --- src/tools.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/tools.c b/src/tools.c index a3aa3c34..9a82f346 100644 --- a/src/tools.c +++ b/src/tools.c @@ -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; -- 2.34.1