summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/window.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/window.cpp b/src/window.cpp
index bbde131a4..7a7a2a182 100644
--- a/src/window.cpp
+++ b/src/window.cpp
@@ -3156,10 +3156,10 @@ void UpdateWindows()
w->SetDirty();
}
}
-
- DrawDirtyBlocks();
}
+ DrawDirtyBlocks();
+
FOR_ALL_WINDOWS_FROM_BACK(w) {
/* Update viewport only if window is not shaded. */
if (w->viewport != NULL && !w->IsShaded()) UpdateViewportPosition(w);