diff options
author | Ben Skeggs <[email protected]> | 2008-08-11 16:14:42 +1000 |
---|---|---|
committer | Ben Skeggs <[email protected]> | 2008-08-11 16:14:42 +1000 |
commit | df4228deddea36b9d5b41ea395a216137e046205 (patch) | |
tree | 051d9c172689657a2c5670a7d0d3ca1b849d74e6 /src/gallium/drivers/nv40/nv40_fragtex.c | |
parent | f56eda6a85912dee9eef9099f6023c6bab05a41a (diff) |
nouveau: pf_sprint_name -> pf_name
Diffstat (limited to 'src/gallium/drivers/nv40/nv40_fragtex.c')
-rw-r--r-- | src/gallium/drivers/nv40/nv40_fragtex.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/gallium/drivers/nv40/nv40_fragtex.c b/src/gallium/drivers/nv40/nv40_fragtex.c index 2d45c2545cd..566d5a8d5ba 100644 --- a/src/gallium/drivers/nv40/nv40_fragtex.c +++ b/src/gallium/drivers/nv40/nv40_fragtex.c @@ -45,7 +45,6 @@ static struct nv40_texture_format * nv40_fragtex_format(uint pipe_format) { struct nv40_texture_format *tf = nv40_texture_formats; - char fs[128]; while (tf->defined) { if (tf->pipe == pipe_format) @@ -53,8 +52,7 @@ nv40_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; } |