summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nv50/nv50_vbo.c
diff options
context:
space:
mode:
authorBen Skeggs <[email protected]>2008-08-11 16:14:42 +1000
committerBen Skeggs <[email protected]>2008-08-11 16:14:42 +1000
commitdf4228deddea36b9d5b41ea395a216137e046205 (patch)
tree051d9c172689657a2c5670a7d0d3ca1b849d74e6 /src/gallium/drivers/nv50/nv50_vbo.c
parentf56eda6a85912dee9eef9099f6023c6bab05a41a (diff)
nouveau: pf_sprint_name -> pf_name
Diffstat (limited to 'src/gallium/drivers/nv50/nv50_vbo.c')
-rw-r--r--src/gallium/drivers/nv50/nv50_vbo.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/gallium/drivers/nv50/nv50_vbo.c b/src/gallium/drivers/nv50/nv50_vbo.c
index 8e420ad172e..c94531723bc 100644
--- a/src/gallium/drivers/nv50/nv50_vbo.c
+++ b/src/gallium/drivers/nv50/nv50_vbo.c
@@ -215,9 +215,8 @@ nv50_vbo_validate(struct nv50_context *nv50)
break;
default:
{
- char fmt[128];
- pf_sprint_name(fmt, ve->src_format);
- NOUVEAU_ERR("invalid vbo format %s\n", fmt);
+ NOUVEAU_ERR("invalid vbo format %s\n",
+ pf_name(ve->src_format));
assert(0);
return;
}