do not always return FALSE when gdi is NULL
This commit is contained in:
parent
d0db9603fc
commit
7db06cc359
@ -3325,7 +3325,7 @@ BOOL update_begin_paint(rdpUpdate* update)
|
||||
/* Reset the invalid regions, we start a new frame here. */
|
||||
rdpGdi* gdi = update->context->gdi;
|
||||
if (!gdi)
|
||||
return FALSE;
|
||||
return rc;
|
||||
|
||||
if (gdi->hdc && gdi->primary && gdi->primary->hdc)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user