summaryrefslogtreecommitdiff
path: root/src/screenshot.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/screenshot.cpp')
-rw-r--r--src/screenshot.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/screenshot.cpp b/src/screenshot.cpp
index 9c750ff9b..52500a756 100644
--- a/src/screenshot.cpp
+++ b/src/screenshot.cpp
@@ -781,6 +781,7 @@ void SetupScreenshotViewport(ScreenshotType t, ViewPort *vp)
vp->top = 0;
vp->width = UnScaleByZoom(vp->virtual_width, vp->zoom);
vp->height = UnScaleByZoom(vp->virtual_height, vp->zoom);
+ vp->overlay = NULL;
}
/**