projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3eeac0d
)
fixed resetting alpha value when preparing envelope request
author
Holger Schemel
<info@artsoft.org>
Wed, 6 Dec 2023 19:56:57 +0000
(20:56 +0100)
committer
Holger Schemel
<info@artsoft.org>
Wed, 6 Dec 2023 19:56:57 +0000
(20:56 +0100)
src/tools.c
patch
|
blob
|
history
diff --git
a/src/tools.c
b/src/tools.c
index a3aa3c34a9cbe12bf06beeb3c58395e6ae420019..9a82f34625db6adc01bf345b869bf18514d1ffe8 100644
(file)
--- 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;