Mesa (master): mesa: fix incorrect error message in format_unpack.c

Brian Paul brianp at kemper.freedesktop.org
Wed Nov 23 15:43:20 UTC 2011


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

Author: Brian Paul <brianp at vmware.com>
Date:   Wed Nov 23 08:36:14 2011 -0700

mesa: fix incorrect error message in format_unpack.c

---

 src/mesa/main/format_unpack.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/src/mesa/main/format_unpack.c b/src/mesa/main/format_unpack.c
index 72a4175..080392f 100644
--- a/src/mesa/main/format_unpack.c
+++ b/src/mesa/main/format_unpack.c
@@ -1968,7 +1968,8 @@ _mesa_unpack_uint_24_8_depth_stencil_row(gl_format format, GLuint n,
       unpack_uint_24_8_depth_stencil_S8_Z24(src, dst, n);
       break;
    default:
-      _mesa_problem(NULL, "bad format %s in _mesa_unpack_ubyte_s_row",
+      _mesa_problem(NULL,
+                    "bad format %s in _mesa_unpack_uint_24_8_depth_stencil_row",
                     _mesa_get_format_name(format));
       return;
    }




More information about the mesa-commit mailing list