Fix redrawing of SkiaDisplay on Windows (now the cursor overlay is visible)

This commit is contained in:
David Capello 2015-05-22 14:06:54 -03:00
parent 5eea582365
commit 7bcda88861
2 changed files with 3 additions and 2 deletions

View File

@ -90,7 +90,7 @@ bool SkiaDisplay::flip()
return false; return false;
} }
m_window.invalidate(); m_window.updateWindow();
return true; return true;
} }

View File

@ -148,8 +148,9 @@ namespace she {
m_hcursor = hcursor; m_hcursor = hcursor;
} }
void invalidate() { void updateWindow() {
InvalidateRect(m_hwnd, NULL, FALSE); InvalidateRect(m_hwnd, NULL, FALSE);
UpdateWindow(m_hwnd);
} }
HWND handle() { HWND handle() {