summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--video/out/gpu/video.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/video/out/gpu/video.c b/video/out/gpu/video.c
index 678a89a436..3f789b6046 100644
--- a/video/out/gpu/video.c
+++ b/video/out/gpu/video.c
@@ -3476,6 +3476,7 @@ void gl_video_screenshot(struct gl_video *p, struct vo_frame *frame,
.downloadable = true,
.w = p->osd_rect.w,
.h = p->osd_rect.h,
+ .d = 1,
.render_dst = true,
};