Index: tools/vulkan/win/Window_win.cpp |
diff --git a/tools/vulkan/win/Window_win.cpp b/tools/vulkan/win/Window_win.cpp |
index 06238393ddfd577c65d6bf56c73da57f47ba83f1..34a8ad2fa8dc252a611043dd458123640eb42d01 100644 |
--- a/tools/vulkan/win/Window_win.cpp |
+++ b/tools/vulkan/win/Window_win.cpp |
@@ -275,3 +275,7 @@ bool Window_win::attach(BackEndType attachType, int msaaSampleCount, AttachmentI |
return (SkToBool(fTestContext)); |
} |
+ |
+void Window_win::inval() { |
+ InvalidateRect(fHWnd, nullptr, false); |
+} |