summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/nv30/nv30_fragtex.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/drivers/nv30/nv30_fragtex.c')
-rw-r--r--src/gallium/drivers/nv30/nv30_fragtex.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gallium/drivers/nv30/nv30_fragtex.c b/src/gallium/drivers/nv30/nv30_fragtex.c
index 4242f86f76..91246f5ca0 100644
--- a/src/gallium/drivers/nv30/nv30_fragtex.c
+++ b/src/gallium/drivers/nv30/nv30_fragtex.c
@@ -75,8 +75,7 @@ nv30_fragtex_format(uint pipe_format)
tf++;
}
- pf_sprint_name(fs, pipe_format);
- NOUVEAU_ERR("unknown texture format %s\n", fs);
+ NOUVEAU_ERR("unknown texture format %s\n", pf_name(pipe_format));
return NULL;
}