OpenGLShaderProgram features

Hi Jules,

I have seen in your OpenGLShaderProgram header file that you specify that type in addShader() function must be either GL_VERTEX_SHADER or GL_FRAGMENT_SHADER.
Is it restricted anywhere else in your code or could I specify a GL_GEOMETRY_SHADER type (OGL 4.2) ?
Why do you have specified only previous ones ?

Best regards

Sorry, that was just badly written - of course it could be a geometry shader too, it’s just a GLenum that gets passed straight through.

Ok, great ! :smiley: