[gdi] use solid fill alpha if surface has alpha
@@ -1253,8 +1253,9 @@ static UINT gdi_SolidFill(RdpgfxClientContext* context, const RDPGFX_SOLID_FILL_
b = solidFill->fillPixel.B;
g = solidFill->fillPixel.G;
r = solidFill->fillPixel.R;
- /* a = solidFill->fillPixel.XA;
- * Ignore alpha channel, this is a solid fill. */
+ if (FreeRDPColorHasAlpha(surface->format))
+ a = solidFill->fillPixel.XA;
+ else
a = 0xFF;
color = FreeRDPGetColor(surface->format, r, g, b, a);
