Mesa (master): util: Format error format string as the rest of the pipe formats
Jakob Bornecrantz
wallbraker at kemper.freedesktop.org
Thu Apr 29 16:02:31 UTC 2010
Module: Mesa
Branch: master
Commit: 3865e3abd429132be647bb7c9575dbf20e1ab11d
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=3865e3abd429132be647bb7c9575dbf20e1ab11d
Author: Jakob Bornecrantz <jakob at vmware.com>
Date: Thu Apr 29 16:58:42 2010 +0100
util: Format error format string as the rest of the pipe formats
---
src/gallium/auxiliary/util/u_format.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/gallium/auxiliary/util/u_format.h b/src/gallium/auxiliary/util/u_format.h
index 605b13b..fb6ade5 100644
--- a/src/gallium/auxiliary/util/u_format.h
+++ b/src/gallium/auxiliary/util/u_format.h
@@ -332,7 +332,7 @@ util_format_name(enum pipe_format format)
assert(desc);
if (!desc) {
- return "???";
+ return "PIPE_FORMAT_???";
}
return desc->name;
More information about the mesa-commit
mailing list