From 6227d8391009bc738d6faf8a473d77e2f3c754fb Mon Sep 17 00:00:00 2001 From: Emma Anholt Date: Wed, 11 Oct 2023 08:59:33 -0700 Subject: [PATCH] dri: Fix a pasteo in dri2_from_names() MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes: 433ca3127a3b ("st/dri: replace format conversion functions with single mapping table") Reviewed-by: Adam Jackson Reviewed-by: Marek Olšák Part-of: --- src/gallium/frontends/dri/dri2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/frontends/dri/dri2.c b/src/gallium/frontends/dri/dri2.c index e4c34dcd841..a520ad172de 100644 --- a/src/gallium/frontends/dri/dri2.c +++ b/src/gallium/frontends/dri/dri2.c @@ -1672,7 +1672,7 @@ dri2_from_names(__DRIscreen *screen, int width, int height, int fourcc, img->dri_components = map->dri_components; img->dri_fourcc = map->dri_fourcc; - img->dri_format = map->pipe_format; + img->dri_format = map->dri_format; return img; }