mirror of
https://github.com/netsurf-browser/netsurf
synced 2025-01-18 16:49:18 +03:00
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:
parent
3b18d36b02
commit
527b19b111
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user