I apologize, I quickly glanced over my own code to verify the code I posted but didn't notice the obvious that the functions are different; you need to use glGetProgramiv and glGetProgramInfoLog when querying the program object and its link status. The code otherwise should be the same.
edit: Good, you apparently found and corrected my mistake already.
Show differencesHistory of post edits
#1Brother Bob
Posted 13 October 2012 - 02:58 PM
I apologize, I quickly glanced over my own code to verify the code I posted but didn't notice the obvious that the functions are different; you need to use glGetProgramiv and glGetProgramInfoLog when querying the program object and its link status. The code otherwise should be the same.