You could probably set shader in the line before this, and just do glUseProgram( shader.programID )