Commit 604c572e authored by Lucas Stach's avatar Lucas Stach
Browse files

gallium/dri: copy image use in dup_image



Don't lose the use flags when dup'ing an image.
Signed-off-by: Lucas Stach's avatarLucas Stach <l.stach@pengutronix.de>
parent f36265a2
Pipeline #289225 waiting for manual action with stages
in 8 seconds
......@@ -1323,6 +1323,7 @@ dri2_dup_image(__DRIimage *image, void *loaderPrivate)
img->dri_format = image->dri_format;
/* This should be 0 for sub images, but dup is also used for base images. */
img->dri_components = image->dri_components;
img->use = image->use;
img->loader_private = loaderPrivate;
img->sPriv = image->sPriv;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment