From 94032b22985e93e965f412fd8ec7074d651ea229 Mon Sep 17 00:00:00 2001 From: Timothy Arceri Date: Sun, 29 Jun 2025 11:58:33 +1000 Subject: [PATCH] dri: add missing field to dri2_dup_image() MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Acked-by: Marek Olšák Part-of: --- src/gallium/frontends/dri/dri2.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gallium/frontends/dri/dri2.c b/src/gallium/frontends/dri/dri2.c index d430694f8ad..d5b975cd005 100644 --- a/src/gallium/frontends/dri/dri2.c +++ b/src/gallium/frontends/dri/dri2.c @@ -1421,6 +1421,7 @@ dri2_dup_image(struct dri_image *image, void *loaderPrivate) img->level = image->level; img->layer = image->layer; img->dri_format = image->dri_format; + img->dri_fourcc = image->dri_fourcc; img->internal_format = image->internal_format; /* This should be 0 for sub images, but dup is also used for base images. */ img->dri_components = image->dri_components;