dri: Fix a pasteo in dri2_from_names()

Fixes: 433ca3127a ("st/dri: replace format conversion functions with single mapping table")

Reviewed-by: Adam Jackson <ajax@redhat.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30245>
This commit is contained in:
Emma Anholt
2023-10-11 08:59:33 -07:00
committed by Marge Bot
parent 8fa9e78e39
commit 6227d83910

View File

@@ -1672,7 +1672,7 @@ dri2_from_names(__DRIscreen *screen, int width, int height, int fourcc,
img->dri_components = map->dri_components; img->dri_components = map->dri_components;
img->dri_fourcc = map->dri_fourcc; img->dri_fourcc = map->dri_fourcc;
img->dri_format = map->pipe_format; img->dri_format = map->dri_format;
return img; return img;
} }