aboutsummaryrefslogtreecommitdiffstatsci
path: root/src/Interface.cs
diff options
context:
space:
mode:
authorJean-Philippe Bruyère <jp_bruyere@hotmail.com>2017-11-20 21:55:34 +0100
committerJean-Philippe Bruyère <jp_bruyere@hotmail.com>2017-11-20 21:55:34 +0100
commite878ab885138361617d47eca5cc7b9a986498ef6 (patch)
tree5bda7829165f5bef26d8c7f4c8bf6afa7eb28ff8 /src/Interface.cs
parent5185d70ddd14728576bafdfea267981baed88d84 (diff)
IsDirty bug
Diffstat (limited to 'src/Interface.cs')
-rw-r--r--src/Interface.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Interface.cs b/src/Interface.cs
index 53d90ea5..19f4a889 100644
--- a/src/Interface.cs
+++ b/src/Interface.cs
@@ -534,11 +534,11 @@ namespace Crow
lock (RenderMutex) {
// Array.Copy (bmp, dirtyBmp, bmp.Length);
- IsDirty = true;
if (IsDirty)
DirtyRect += clipping.Extents;
else
DirtyRect = clipping.Extents;
+ IsDirty = true;
DirtyRect.Left = Math.Max (0, DirtyRect.Left);
DirtyRect.Top = Math.Max (0, DirtyRect.Top);