Using Archlinux, Derelict-gl3 1.0.18
check format (GLuint, Glenum, Glint*)
// this does not work
glGetShaderiv(program, GL_LINK_STATUS, &success);
writeln("GL_ERROR: ", glGetError());
Give me error 1282
// this one works fine.
glGetShaderiv(shader, GL_COMPILE_STATUS, &success);