summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/util
diff options
context:
space:
mode:
authorMichal Krol <[email protected]>2008-05-07 14:24:14 +0200
committerMichal Krol <[email protected]>2008-05-07 14:24:14 +0200
commit5efd2d59eb19cc44624d3f842d3d1d291876ae7d (patch)
treeab9aa0828b72d9c1b46a5c8bbf1bae32635007a6 /src/gallium/auxiliary/util
parent55c13f5af7903c2a0f5a1839259a0a0cc15d6e5e (diff)
gallium: Fix compilation errors.
Diffstat (limited to 'src/gallium/auxiliary/util')
-rw-r--r--src/gallium/auxiliary/util/p_debug.c13
1 files changed, 6 insertions, 7 deletions
diff --git a/src/gallium/auxiliary/util/p_debug.c b/src/gallium/auxiliary/util/p_debug.c
index 3f3cf620fe4..0f3a99cf834 100644
--- a/src/gallium/auxiliary/util/p_debug.c
+++ b/src/gallium/auxiliary/util/p_debug.c
@@ -325,13 +325,6 @@ debug_dump_flags(const struct debug_named_value *names,
}
-char *pf_sprint_name( char *str, enum pipe_format format )
-{
- strcpy( str, debug_dump_enum(pipe_format_names, fmt) );
- return str;
-}
-
-
#ifdef DEBUG
static const struct debug_named_value pipe_format_names[] = {
DEBUG_NAMED_VALUE(PIPE_FORMAT_NONE),
@@ -432,6 +425,12 @@ void debug_print_format(const char *msg, unsigned fmt )
{
debug_printf("%s: %s\n", msg, debug_dump_enum(pipe_format_names, fmt));
}
+
+char *pf_sprint_name( char *str, enum pipe_format format )
+{
+ strcpy( str, debug_dump_enum(pipe_format_names, format) );
+ return str;
+}
#endif