mesa: fix incorrect error message in format_unpack.c
authorBrian Paul <brianp@vmware.com>
Wed, 23 Nov 2011 15:36:14 +0000 (08:36 -0700)
committerBrian Paul <brianp@vmware.com>
Wed, 23 Nov 2011 15:40:46 +0000 (08:40 -0700)
src/mesa/main/format_unpack.c

index 72a4175aa86570bf2787c70da9b22ea38c2c8561..080392f2bcace7c98843089750c5dd7083da0922 100644 (file)
@@ -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;
    }