diff options
Diffstat (limited to 'render/dmabuf.c')
| -rw-r--r-- | render/dmabuf.c | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/render/dmabuf.c b/render/dmabuf.c index 44b840f2..b0b8ef41 100644 --- a/render/dmabuf.c +++ b/render/dmabuf.c @@ -15,7 +15,7 @@ void wlr_dmabuf_attributes_finish(struct wlr_dmabuf_attributes *attribs) {  bool wlr_dmabuf_attributes_copy(struct wlr_dmabuf_attributes *dst,  		const struct wlr_dmabuf_attributes *src) { -	memcpy(dst, src, sizeof(struct wlr_dmabuf_attributes)); +	*dst = *src;  	int i;  	for (i = 0; i < src->n_planes; ++i) { | 
