mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 20:38:06 +02:00
mesa: improved error msg
This commit is contained in:
parent
5b2f8dc013
commit
621c999d82
1 changed files with 2 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue