dri: add missing field to dri2_dup_image()

Acked-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35814>
This commit is contained in:
Timothy Arceri
2025-06-29 11:58:33 +10:00
committed by Marge Bot
parent 3a51865faa
commit 94032b2298
+1
View File
@@ -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;