Very sorry to post in an older topic, I have been working for sometime on a project with procedural planets and wanted to take a look at the code you provided at the start of this topic.
Unfortunately when I run the example I get no errors, just a blank screen, I've had a couple of run through and did some investigating and it appears that both shaders are being compiled and
added to the program with no errors.
My opengl version is 3.1 and the shader version is 1.4.
Any chance you might know what's going on? Regardless, thanks for taking the time to read!