From 527b19b11146dbb1109f092a93ecbbcbd65a865b Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Fri, 9 Jun 2017 21:53:44 +0100 Subject: Windows: Core window: No need to erase the invalidated region on scroll. The core is responsible for rendering the invalidated region, so this avoids the area getting painted twice. --- frontends/windows/corewindow.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontends/windows/corewindow.c b/frontends/windows/corewindow.c index adf1c6552..d4ffc5ad0 100644 --- a/frontends/windows/corewindow.c +++ b/frontends/windows/corewindow.c @@ -211,7 +211,7 @@ nsw32_corewindow_vscroll(struct nsw32_corewindow *nsw32_cw, NULL, NULL, NULL, - SW_ERASE | SW_INVALIDATE); + SW_INVALIDATE); /** * /todo win32 corewindow vertical scrolling needs us to @@ -278,7 +278,7 @@ nsw32_corewindow_hscroll(struct nsw32_corewindow *nsw32_cw, NULL, NULL, NULL, - SW_ERASE | SW_INVALIDATE); + SW_INVALIDATE); return 0; } -- cgit v1.2.3