@ -40,6 +40,6 @@ void wlr_dmabuf_attributes_finish(struct wlr_dmabuf_attributes *attribs);
* Clones the DMA-BUF attributes.
*/
bool wlr_dmabuf_attributes_copy(struct wlr_dmabuf_attributes *dst,
struct wlr_dmabuf_attributes *src);
const struct wlr_dmabuf_attributes *src);
#endif
@ -13,7 +13,7 @@ void wlr_dmabuf_attributes_finish(struct wlr_dmabuf_attributes *attribs) {
}
struct wlr_dmabuf_attributes *src) {
const struct wlr_dmabuf_attributes *src) {
memcpy(dst, src, sizeof(struct wlr_dmabuf_attributes));
int i;