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.
This commit is contained in:
Michael Drake 2017-06-09 21:53:44 +01:00
parent 3b18d36b02
commit 527b19b111

View File

@ -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;
}