Fixed DeleteSurface default return value

This commit is contained in:
akallabeth 2022-04-28 13:11:23 +02:00 committed by akallabeth
parent eb95f00991
commit 69bc0ccc89
1 changed files with 1 additions and 1 deletions

View File

@ -1146,7 +1146,7 @@ fail:
static UINT gdi_DeleteSurface(RdpgfxClientContext* context,
const RDPGFX_DELETE_SURFACE_PDU* deleteSurface)
{
UINT rc = ERROR_INTERNAL_ERROR;
UINT rc = CHANNEL_RC_OK;
UINT res = ERROR_INTERNAL_ERROR;
rdpCodecs* codecs = NULL;
gdiGfxSurface* surface = NULL;