mirror of
https://github.com/aseprite/aseprite.git
synced 2025-03-17 13:20:45 +00:00
Implement SkiaDisplay::flip()
This commit is contained in:
parent
6e76d50864
commit
6f925ef161
@ -55,6 +55,7 @@ public:
|
||||
// false if the flip couldn't be done because the display was
|
||||
// resized.
|
||||
bool flip() override {
|
||||
m_window.invalidate();
|
||||
return true;
|
||||
}
|
||||
|
||||
|
@ -356,6 +356,10 @@ static KeyScancode vkToScancode(int vk) {
|
||||
m_captureMouse = false;
|
||||
}
|
||||
|
||||
void invalidate() {
|
||||
InvalidateRect(m_hwnd, NULL, FALSE);
|
||||
}
|
||||
|
||||
HWND handle() {
|
||||
return m_hwnd;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user