mesa: fix a typo in glDetachShader error message
authorTapani Pälli <tapani.palli@intel.com>
Tue, 10 Dec 2013 12:28:40 +0000 (14:28 +0200)
committerTapani Pälli <tapani.palli@intel.com>
Thu, 12 Dec 2013 05:50:06 +0000 (07:50 +0200)
Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
src/mesa/main/shaderapi.c

index 1d9aac39df27ad50e39a637f4b7e3231a2b38ca6..4f3be68a406d5e3e59d7d91774f5a5e69ee76c77 100644 (file)
@@ -414,7 +414,7 @@ detach_shader(struct gl_context *ctx, GLuint program, GLuint shader)
          err = GL_INVALID_OPERATION;
       else
          err = GL_INVALID_VALUE;
-      _mesa_error(ctx, err, "glDetachProgram(shader)");
+      _mesa_error(ctx, err, "glDetachShader(shader)");
       return;
    }
 }