summaryrefslogtreecommitdiffstats
path: root/video/out/vo_drm.c
diff options
context:
space:
mode:
Diffstat (limited to 'video/out/vo_drm.c')
-rw-r--r--video/out/vo_drm.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/video/out/vo_drm.c b/video/out/vo_drm.c
index 4a7caa558e..ce48779a82 100644
--- a/video/out/vo_drm.c
+++ b/video/out/vo_drm.c
@@ -327,10 +327,6 @@ static int reconfig(struct vo *vo, struct mp_image_params *params)
talloc_free(p->last_input);
p->last_input = NULL;
- struct framebuffer *buf = p->bufs;
- for (unsigned int i = 0; i < p->buf_count; i++)
- memset(buf[i].map, 0, buf[i].size);
-
if (mp_sws_reinit(p->sws) < 0)
return -1;