commit | 621c999d823eed077aee9ac0779077ba2f0c5e5a | [log] [tgz] |
---|---|---|
author | Brian Paul <brianp@vmware.com> | Wed Feb 18 13:28:12 2009 -0700 |
committer | Brian Paul <brianp@vmware.com> | Wed Feb 18 13:28:12 2009 -0700 |
tree | fe1c54cbdd0dfd67e1ecf7a33c2c9ef12507a7c5 | |
parent | 5b2f8dc01300058d43d8043aa897722f39657e93 [diff] [blame] |
mesa: improved error msg
diff --git a/src/mesa/shader/shader_api.c b/src/mesa/shader/shader_api.c index 38f4cd0..828d3f0 100644 --- a/src/mesa/shader/shader_api.c +++ b/src/mesa/shader/shader_api.c
@@ -1469,7 +1469,8 @@ return; } if (!shProg->LinkStatus) { - _mesa_error(ctx, GL_INVALID_OPERATION, "glUseProgram"); + _mesa_error(ctx, GL_INVALID_OPERATION, + "glUseProgram(program %u not linked)", program); return; } }