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

Brian Paul brianp at vmware.com
Mon Apr 21 07:42:22 PDT 2014


On 04/19/2014 01:13 PM, Benjamin wrote:
> 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
> <mailto:b.bellec at gmail.com>>:
>
>
>     Signed-off-by: Benjamin Bellec <b.bellec at gmail.com
>     <mailto: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
>


Reviewed-by: Brian Paul <brianp at vmware.com>

I'll push this with the cc mesa-stable line.

Thanks.



More information about the mesa-stable mailing list