openframeworks/openFrameworks — pull request #1203 by damiannz (2012-04-23 00:33:10+00:00)
Title: Fix ofShader's call to glGetProgramiv( GL_LINK_STATUS )

ofShader was calling `glGetProgramiv( shader, GL_LINK_STATUS, &status );` but this call is invalid as `glGetProgramiv` expects a program argument, not a shader. Hence status was uninitialised after the call, and the following if statement was nonsense.