From 7c8cdee0b20d09d6181dcd9cb5142b6d9fe59e9e Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Thu, 15 Aug 2019 15:00:10 -0700 Subject: gallium: Fix mesa format name in unit test failure path. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit We clearly wanted the mesa format here. Reviewed-by: Roland Scheidegger Acked-by: Adam Jackson Reviewed-by: Marek Olšák --- src/mesa/state_tracker/tests/st_format.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mesa/state_tracker/tests') diff --git a/src/mesa/state_tracker/tests/st_format.c b/src/mesa/state_tracker/tests/st_format.c index 35225e1abf7..12cb74bd0be 100644 --- a/src/mesa/state_tracker/tests/st_format.c +++ b/src/mesa/state_tracker/tests/st_format.c @@ -92,7 +92,7 @@ int main(int argc, char **argv) if (pf != i) { fprintf(stderr, "Round-tripping %s -> %s -> %s failed\n", util_format_short_name(i), - _mesa_get_format_name(pf), + _mesa_get_format_name(mf), util_format_short_name(pf)); return 1; } -- cgit v1.2.3