Index: src/views/win/skia_win.cpp |
diff --git a/src/views/win/skia_win.cpp b/src/views/win/skia_win.cpp |
index 6f1db7769358961199ad178d894bad737854ee5c..c15846da7aa2251408063f709e0a8d4f64d8895c 100644 |
--- a/src/views/win/skia_win.cpp |
+++ b/src/views/win/skia_win.cpp |
@@ -22,7 +22,7 @@ static const TCHAR* register_class(HINSTANCE hInstance) { |
wcex.cbSize = sizeof(WNDCLASSEX); |
- wcex.style = CS_HREDRAW | CS_VREDRAW; |
+ wcex.style = CS_HREDRAW | CS_VREDRAW | CS_OWNDC; |
wcex.lpfnWndProc = WndProc; |
wcex.cbClsExtra = 0; |
wcex.cbWndExtra = 0; |