[Mesa-dev] [PATCH] fix GetStringi error message with correct name function

Benjamin b.bellec at gmail.com
Sat Apr 19 12:13:24 PDT 2014


I forgot to cc the stable mailing list for this patch.


2014-04-19 21:05 GMT+02:00 Benjamin Bellec <b.bellec at gmail.com>:

>
> Signed-off-by: Benjamin Bellec <b.bellec at gmail.com>
> ---
>  src/mesa/main/getstring.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/mesa/main/getstring.c b/src/mesa/main/getstring.c
> index 3ac62d4..1ac92e2 100644
> --- a/src/mesa/main/getstring.c
> +++ b/src/mesa/main/getstring.c
> @@ -166,7 +166,7 @@ _mesa_GetStringi(GLenum name, GLuint index)
>        }
>        return _mesa_get_enabled_extension(ctx, index);
>     default:
> -      _mesa_error( ctx, GL_INVALID_ENUM, "glGetString" );
> +      _mesa_error( ctx, GL_INVALID_ENUM, "glGetStringi" );
>        return (const GLubyte *) 0;
>     }
>  }
> --
> 1.8.1.4
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20140419/892d21fe/attachment.html>


More information about the mesa-dev mailing list