}
+static void
+link_program_no_error(struct gl_context *ctx, struct gl_shader_program *shProg)
+{
+ link_program(ctx, shProg, true);
+}
+
+
void
_mesa_link_program(struct gl_context *ctx, struct gl_shader_program *shProg)
{
}
+void GLAPIENTRY
+_mesa_LinkProgram_no_error(GLuint programObj)
+{
+ GET_CURRENT_CONTEXT(ctx);
+
+ struct gl_shader_program *shProg =
+ _mesa_lookup_shader_program(ctx, programObj);
+ link_program_no_error(ctx, shProg);
+}
+
+
void GLAPIENTRY
_mesa_LinkProgram(GLuint programObj)
{
extern GLboolean GLAPIENTRY
_mesa_IsShader(GLuint name);
+void GLAPIENTRY
+_mesa_LinkProgram_no_error(GLuint programObj);
+
extern void GLAPIENTRY
_mesa_LinkProgram(GLuint programObj);