diff options
author | Brian Paul <[email protected]> | 2009-02-18 13:28:12 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2009-02-18 13:28:12 -0700 |
commit | 621c999d823eed077aee9ac0779077ba2f0c5e5a (patch) | |
tree | fe1c54cbdd0dfd67e1ecf7a33c2c9ef12507a7c5 /src/mesa | |
parent | 5b2f8dc01300058d43d8043aa897722f39657e93 (diff) |
mesa: improved error msg
Diffstat (limited to 'src/mesa')
-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 38f4cd03c4f..828d3f062ac 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; } } |