mesa: improved error msg
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user