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

Submitted by Benjamin Bellec on April 19, 2014, 7:05 p.m.

Details

Message ID 1397934354-5314-1-git-send-email-b.bellec@gmail.com
State New
Headers show

Not browsing as part of any series.

Commit Message

Benjamin Bellec April 19, 2014, 7:05 p.m.
Signed-off-by: Benjamin Bellec <b.bellec@gmail.com>
---
 src/mesa/main/getstring.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch hide | download patch | download mbox

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;
    }
 }

Comments

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


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

>
> Signed-off-by: Benjamin Bellec <b.bellec@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
>
>