summaryrefslogtreecommitdiffstats
path: root/libfreerdp/core/update.c
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-04 01:25:12 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-04 01:25:12 +0000
commit827a4c3faa27e0c186452585b15094eee1119085 (patch)
treee6a08b0c767863d66f7d4a9de80db5edc7db29be /libfreerdp/core/update.c
parentReleasing progress-linux version 3.3.0+dfsg1-1~progress7.99u1. (diff)
downloadfreerdp3-827a4c3faa27e0c186452585b15094eee1119085.tar.xz
freerdp3-827a4c3faa27e0c186452585b15094eee1119085.zip
Merging upstream version 3.5.0+dfsg1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'libfreerdp/core/update.c')
-rw-r--r--libfreerdp/core/update.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libfreerdp/core/update.c b/libfreerdp/core/update.c
index db8ddef..cfc0abc 100644
--- a/libfreerdp/core/update.c
+++ b/libfreerdp/core/update.c
@@ -3322,6 +3322,10 @@ BOOL update_begin_paint(rdpUpdate* update)
WINPR_ASSERT(update->context);
+ BOOL rc = IFCALLRESULT(TRUE, update->BeginPaint, update->context);
+ if (!rc)
+ WLog_WARN(TAG, "BeginPaint call failed");
+
/* Reset the invalid regions, we start a new frame here. */
rdpGdi* gdi = update->context->gdi;
WINPR_ASSERT(gdi);
@@ -3335,10 +3339,6 @@ BOOL update_begin_paint(rdpUpdate* update)
hwnd->ninvalid = 0;
}
- BOOL rc = IFCALLRESULT(TRUE, update->BeginPaint, update->context);
- if (!rc)
- WLog_WARN(TAG, "BeginPaint call failed");
-
return rc;
}