@Tom.
Could you kind enough to show me a little bit of shader initialisation code please. The only bits I'm interested in are:
glShaderSourceARB( vertexshader,1,Varptr vertexShaderStrings,Null)
glCompileShaderARB(vertexShader)
and how you have setup the 'vertexshader' variable and 'vertexshaderstrings' variable. I'm having a spot of trouble getting the pointers right and although my code will run it generates an internal GL_ERROR and the shader won't do its thing.
Many thanks
Could you kind enough to show me a little bit of shader initialisation code please. The only bits I'm interested in are:
glShaderSourceARB( vertexshader,1,Varptr vertexShaderStrings,Null)
glCompileShaderARB(vertexShader)
and how you have setup the 'vertexshader' variable and 'vertexshaderstrings' variable. I'm having a spot of trouble getting the pointers right and although my code will run it generates an internal GL_ERROR and the shader won't do its thing.
Many thanks