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:
@@ -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;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user