Module: Mesa
Branch: master
Commit: 3865e3abd429132be647bb7c9575dbf20e1ab11d
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=3865e3abd429132be647bb7c9575dbf20e1ab11d

Author: Jakob Bornecrantz <[email protected]>
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;

_______________________________________________
mesa-commit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to