From: Brian Paul Date: Wed, 18 Oct 2017 15:44:13 +0000 (-0600) Subject: mesa: fix trivial typo in _mesa_PixelMapusv() error string X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e17aa6cd9d42d4712f6df4f11a0cbac3735e55b4;p=mesa.git mesa: fix trivial typo in _mesa_PixelMapusv() error string Signed-off-by: Brian Paul Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=103323 --- diff --git a/src/mesa/main/pixel.c b/src/mesa/main/pixel.c index 345c5d18353..a9a14df0e30 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; } }