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

Benjamin Bellec b.bellec at gmail.com
Sat Apr 19 12:05:54 PDT 2014


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



More information about the mesa-dev mailing list