projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
55d92c7
)
fixed bug with alpha blending when configuring game controllers
author
Holger Schemel
<info@artsoft.org>
Mon, 23 Apr 2018 18:39:52 +0000
(20:39 +0200)
committer
Holger Schemel
<info@artsoft.org>
Thu, 26 Apr 2018 23:14:15 +0000
(
01:14
+0200)
src/screens.c
patch
|
blob
|
history
diff --git
a/src/screens.c
b/src/screens.c
index 0e4c09c9599e961e5137c9021bc91bab6556abee..552879f8a1f2d4c66659b412bb40175b90914e84 100644
(file)
--- a/
src/screens.c
+++ b/
src/screens.c
@@
-6898,6
+6898,7
@@
static boolean ConfigureJoystickMapButtonsAndAxes(SDL_Joystick *joystick)
controller->width, controller->height,
controller_x, controller_y);
+ SDL_SetSurfaceBlendMode(marker->surface_masked, SDL_BLENDMODE_BLEND);
SDL_SetSurfaceAlphaMod(marker->surface_masked, alpha);
BlitBitmapMasked(marker, drawto, 0, 0,