[Mesa-dev] [PATCH 02/16] mesa: Fix the name in the error message

Ian Romanick idr at freedesktop.org
Mon Jul 21 14:04:18 PDT 2014


From: Ian Romanick <ian.d.romanick at intel.com>

Obvious copy-and-paste bug.

Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
---
 src/mesa/main/uniform_query.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/mesa/main/uniform_query.cpp b/src/mesa/main/uniform_query.cpp
index 480bc6f..609d94b 100644
--- a/src/mesa/main/uniform_query.cpp
+++ b/src/mesa/main/uniform_query.cpp
@@ -91,7 +91,7 @@ _mesa_GetActiveUniformsiv(GLuint program,
 
    if (uniformCount < 0) {
       _mesa_error(ctx, GL_INVALID_VALUE,
-		  "glGetUniformIndices(uniformCount < 0)");
+		  "glGetActiveUniformsiv(uniformCount < 0)");
       return;
    }
 
-- 
1.8.1.4



More information about the mesa-dev mailing list