aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--win32/ScintillaWin.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/win32/ScintillaWin.cxx b/win32/ScintillaWin.cxx
index 35f2044fc..92dd32ffc 100644
--- a/win32/ScintillaWin.cxx
+++ b/win32/ScintillaWin.cxx
@@ -435,6 +435,9 @@ void ScintillaWin::EnsureRenderTarget() {
D2D1::HwndRenderTargetProperties(hw, size),
&pRenderTarget);
#endif
+ // Pixmaps were created to be compatible with previous render target so
+ // need to be recreated.
+ DropGraphics(false);
}
#endif
}