daid/Cura — pull request #995 by SpexGuy (2014-10-28 17:57:04+00:00)
Title: Fix error when shader can't link

Calling glValidateProgram clears glGetProgramInfoLog, so it must check for a
link error _before_ validating.