mesa: Fix function name in GetActiveUniformName error
authorChris Forbes <chrisf@ijw.co.nz>
Sun, 23 Nov 2014 00:31:10 +0000 (13:31 +1300)
committerChris Forbes <chrisf@ijw.co.nz>
Sun, 23 Nov 2014 02:04:15 +0000 (15:04 +1300)
Signed-off-by: Chris Forbes <chrisf@ijw.co.nz>
src/mesa/main/uniforms.c

index f7d5e89d9564f524ac6149b80b27bbab5af9e48b..d2d70e7f7a05c3c0643bf0968d1cdfe154befeca 100644 (file)
@@ -1208,7 +1208,7 @@ _mesa_GetActiveUniformName(GLuint program, GLuint uniformIndex,
    struct gl_shader_program *shProg;
 
    if (!ctx->Extensions.ARB_uniform_buffer_object) {
-      _mesa_error(ctx, GL_INVALID_OPERATION, "glGetActiveUniformBlockiv");
+      _mesa_error(ctx, GL_INVALID_OPERATION, "glGetActiveUniformName");
       return;
    }