Merge pull request #4200 from cedrozor/upstream-master
Windows client: refresh only updated region(s) instead of whole screen
This commit is contained in:
commit
6845974cc1
@ -119,10 +119,10 @@ static BOOL wf_begin_paint(rdpContext* context)
|
||||
{
|
||||
HGDI_DC hdc;
|
||||
|
||||
if (!context || !context->gdi || !context->gdi->hdc)
|
||||
if (!context || !context->gdi || !context->gdi->primary || !context->gdi->primary->hdc)
|
||||
return FALSE;
|
||||
|
||||
hdc = context->gdi->hdc;
|
||||
hdc = context->gdi->primary->hdc;
|
||||
|
||||
if (!hdc || !hdc->hwnd || !hdc->hwnd->invalid)
|
||||
return FALSE;
|
||||
|
Loading…
x
Reference in New Issue
Block a user