aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker/tests
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2019-08-15 15:00:10 -0700
committerEric Anholt <[email protected]>2019-08-28 10:39:36 -0700
commit7c8cdee0b20d09d6181dcd9cb5142b6d9fe59e9e (patch)
tree9ec7a3dae3d509d19fd483a3e49a63621cee81b3 /src/mesa/state_tracker/tests
parent8709b865ce122687d75af8e96cfbb9c851885899 (diff)
gallium: Fix mesa format name in unit test failure path.
We clearly wanted the mesa format here. Reviewed-by: Roland Scheidegger <[email protected]> Acked-by: Adam Jackson <[email protected]> Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/mesa/state_tracker/tests')
-rw-r--r--src/mesa/state_tracker/tests/st_format.c2
1 files changed, 1 insertions, 1 deletions
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;
}