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 480bc6f..609d94b 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;
    }