summaryrefslogtreecommitdiff
path: root/src/gallium/include
diff options
context:
space:
mode:
authorJosé Fonseca <jrfonseca@tungstengraphics.com>2008-08-07 19:25:28 +0100
committerJosé Fonseca <jrfonseca@tungstengraphics.com>2008-08-07 19:25:28 +0100
commitfdafa1f8632bf4e92996291a094e98f4e58dc37c (patch)
tree7f0e448d5afbb0f2f12a0363d952c1040a066e5a /src/gallium/include
parent9dee60969df7ff263e05430e69ef26982fe2bd94 (diff)
gallium: Simplify format->name conversion.
Diffstat (limited to 'src/gallium/include')
-rw-r--r--src/gallium/include/pipe/p_format.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/include/pipe/p_format.h b/src/gallium/include/pipe/p_format.h
index 947c445583..0a9cad8993 100644
--- a/src/gallium/include/pipe/p_format.h
+++ b/src/gallium/include/pipe/p_format.h
@@ -379,7 +379,7 @@ enum pipe_format {
/**
* Builds pipe format name from format token.
*/
-extern char *pf_sprint_name( char *str, enum pipe_format format );
+extern const char *pf_name( enum pipe_format format );
/**
* Return bits for a particular component.