From 7206246c831676b19bbfc86a90098c951e9f1d39 Mon Sep 17 00:00:00 2001 From: Vic Lee Date: Fri, 21 Dec 2012 16:39:09 +0800 Subject: [PATCH] wfreerdp: add missing wf_invalidate_region for NSCodec. --- client/Windows/wf_gdi.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/client/Windows/wf_gdi.c b/client/Windows/wf_gdi.c index 5ba046c..c702ffd 100644 --- a/client/Windows/wf_gdi.c +++ b/client/Windows/wf_gdi.c @@ -474,6 +474,8 @@ void wf_gdi_surface_bits(rdpContext* context, SURFACE_BITS_COMMAND* surface_bits SetDIBitsToDevice(wfi->primary->hdc, surface_bits_command->destLeft, surface_bits_command->destTop, surface_bits_command->width, surface_bits_command->height, 0, 0, 0, surface_bits_command->height, nsc_context->bmpdata, &bitmap_info, DIB_RGB_COLORS); + wf_invalidate_region(wfi, surface_bits_command->destLeft, surface_bits_command->destTop, + surface_bits_command->width, surface_bits_command->height); } else if (surface_bits_command->codecID == CODEC_ID_NONE) { -- 2.7.4