}
-void debug_print_format(const char *msg, enum pipe_format fmt )
+void debug_print_format(const char *msg, unsigned fmt )
{
char fmtstr[80];
- pf_sprint_name(fmtstr, fmt);
+ pf_sprint_name(fmtstr, (enum pipe_format)fmt);
debug_printf("%s: %s\n", msg, fmtstr);
}
#endif
#endif
-
-enum pipe_format;
-
void _debug_vprintf(const char *format, va_list ap);
/* Print a message along with a prettified format string
*/
-void debug_print_format(const char *msg, enum pipe_format fmt );
+void debug_print_format(const char *msg, unsigned fmt );
#else
#define debug_print_blob(_name, _blob, _size) ((void)0)
#define debug_print_format(_msg, _fmt) ((void)0)