aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nv04/nv04_fragtex.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/nv04/nv04_fragtex.c
parentf56eda6a85912dee9eef9099f6023c6bab05a41a (diff)
nouveau: pf_sprint_name -> pf_name
Diffstat (limited to 'src/gallium/drivers/nv04/nv04_fragtex.c')
-rw-r--r--src/gallium/drivers/nv04/nv04_fragtex.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/gallium/drivers/nv04/nv04_fragtex.c b/src/gallium/drivers/nv04/nv04_fragtex.c
index 3db673cd2c1..1b866aae199 100644
--- a/src/gallium/drivers/nv04/nv04_fragtex.c
+++ b/src/gallium/drivers/nv04/nv04_fragtex.c
@@ -51,7 +51,6 @@ static uint32_t
nv04_fragtex_format(uint pipe_format)
{
struct nv04_texture_format *tf = nv04_texture_formats;
- char fs[128];
int i;
for (i=0; i< sizeof(nv04_texture_formats)/sizeof(nv04_texture_formats[0]); i++) {
@@ -60,8 +59,7 @@ nv04_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 0;
}