From: Holger Schemel Date: Mon, 23 Apr 2018 18:39:52 +0000 (+0200) Subject: fixed bug with alpha blending when configuring game controllers X-Git-Tag: 4.1.1.0~181 X-Git-Url: https://git.artsoft.org/?p=rocksndiamonds.git;a=commitdiff_plain;h=e301fccc893622199878577ef6da460407aab11e fixed bug with alpha blending when configuring game controllers --- diff --git a/src/screens.c b/src/screens.c index 0e4c09c9..552879f8 100644 --- 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,