From e301fccc893622199878577ef6da460407aab11e Mon Sep 17 00:00:00 2001 From: Holger Schemel Date: Mon, 23 Apr 2018 20:39:52 +0200 Subject: [PATCH] fixed bug with alpha blending when configuring game controllers --- src/screens.c | 1 + 1 file changed, 1 insertion(+) 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, -- 2.34.1