diff options
author | Michael Drake <tlsa@netsurf-browser.org> | 2017-06-09 21:53:44 +0100 |
---|---|---|
committer | Michael Drake <tlsa@netsurf-browser.org> | 2017-06-09 21:58:16 +0100 |
commit | 527b19b11146dbb1109f092a93ecbbcbd65a865b (patch) | |
tree | 151b4fcec0c7a886ff240ab3a2dd22e4284680c9 | |
parent | 3b18d36b025c8b2a36644391393258034dd9c702 (diff) | |
download | netsurf-527b19b11146dbb1109f092a93ecbbcbd65a865b.tar.gz netsurf-527b19b11146dbb1109f092a93ecbbcbd65a865b.tar.bz2 |
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.
-rw-r--r-- | frontends/windows/corewindow.c | 4 |
1 files 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; } |