mesa: Fix the name in the error message
authorIan Romanick <ian.d.romanick@intel.com>
Wed, 16 Jul 2014 17:52:32 +0000 (10:52 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Wed, 23 Jul 2014 23:42:47 +0000 (16:42 -0700)
Obvious copy-and-paste bug.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Matt Turner <mattst88@gmail.com>
src/mesa/main/uniform_query.cpp

index 480bc6f163f4ff7d1bd203cfa0f3671d130d402b..609d94bd7457fc57996fc6b278b13e66d0425a8f 100644 (file)
@@ -91,7 +91,7 @@ _mesa_GetActiveUniformsiv(GLuint program,
 
    if (uniformCount < 0) {
       _mesa_error(ctx, GL_INVALID_VALUE,
-                 "glGetUniformIndices(uniformCount < 0)");
+                 "glGetActiveUniformsiv(uniformCount < 0)");
       return;
    }