Fixed GFX alpha painting

This commit is contained in:
akallabeth 2021-10-14 12:51:05 +02:00 committed by akallabeth
parent 6ea5823a16
commit da3c1197a2

View File

@ -815,7 +815,7 @@ static UINT gdi_SurfaceCommand_Alpha(rdpGdi* gdi, RdpgfxClientContext* context,
for (y = cmd->top; y < cmd->top + cmd->height; y++)
{
BYTE* line = surface->data[surface->scanline * y];
BYTE* line = &surface->data[surface->scanline * y];
for (x = cmd->left; x < cmd->left + cmd->width; x++)
{