Mesa (master): mesa: fix trivial typo in _mesa_PixelMapusv() error string

Brian Paul brianp at kemper.freedesktop.org
Wed Oct 18 15:52:43 UTC 2017


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

Author: Brian Paul <brianp at vmware.com>
Date:   Wed Oct 18 09:44:13 2017 -0600

mesa: fix trivial typo in _mesa_PixelMapusv() error string

Signed-off-by: Brian Paul <brianp at vmware.com>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=103323

---

 src/mesa/main/pixel.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/mesa/main/pixel.c b/src/mesa/main/pixel.c
index 345c5d1835..a9a14df0e3 100644
--- a/src/mesa/main/pixel.c
+++ b/src/mesa/main/pixel.c
@@ -283,7 +283,7 @@ _mesa_PixelMapusv(GLenum map, GLsizei mapsize, const GLushort *values )
    if (map >= GL_PIXEL_MAP_S_TO_S && map <= GL_PIXEL_MAP_I_TO_A) {
       /* test that mapsize is a power of two */
       if (!_mesa_is_pow_two(mapsize)) {
-	 _mesa_error( ctx, GL_INVALID_VALUE, "glPixelMapuiv(mapsize)" );
+	 _mesa_error( ctx, GL_INVALID_VALUE, "glPixelMapusv(mapsize)" );
          return;
       }
    }




More information about the mesa-commit mailing list