Programmable pipeline

Hi,

I’ve tried to use OGL2.0 with a vertex shader, doing it with LWJGL - fails on compiling the vertex shader which is fine as the shader compiles fine when I use ARB extensions - could it be my gfx card which is a intel hd 3000 on my macbook pro?


vertex shader:

varying vec4 vertColor;
void main(){
           gl_Position = gl_ModelViewProjectionMatrix*gl_Vertex;
           vertColor = vec4(0.0, 0.0, 1.0, 1.0);
}

Thanks for any help