diff options
author | Brian Paul <brianp@vmware.com> | 2009-02-18 13:28:12 -0700 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2009-02-18 13:28:12 -0700 |
commit | 621c999d823eed077aee9ac0779077ba2f0c5e5a (patch) | |
tree | fe1c54cbdd0dfd67e1ecf7a33c2c9ef12507a7c5 | |
parent | 5b2f8dc01300058d43d8043aa897722f39657e93 (diff) |
mesa: improved error msg
-rw-r--r-- | src/mesa/shader/shader_api.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/shader/shader_api.c b/src/mesa/shader/shader_api.c index 38f4cd03c4..828d3f062a 100644 --- a/src/mesa/shader/shader_api.c +++ b/src/mesa/shader/shader_api.c @@ -1469,7 +1469,8 @@ _mesa_use_program(GLcontext *ctx, GLuint program) return; } if (!shProg->LinkStatus) { - _mesa_error(ctx, GL_INVALID_OPERATION, "glUseProgram"); + _mesa_error(ctx, GL_INVALID_OPERATION, + "glUseProgram(program %u not linked)", program); return; } } |