I just want to make an OpenGL program using GLSL shader. But when I'm compiling it I have the following error message :
Version number not supported by GL2.
Here's my vertex shader code :
#version 400
in vec3 Color;
out vec4 FragColor;
void main() {
FragColor = vec4(Color, 1.0);
}
My device config is the following :
GL render : ATI Radeo HD 4600 Series
GL version : 2.1.8787
GLSL version : 1.30
So I need opengl version 4.3 if it's possible. But I downloaded lots of versions but I didn't find the last one. Plus, I should have GLSL version 4. Does anyone know a link to download the last version of OpenGL?
GL render : ATI Radeo HD 4600 Series
The HD 4xxx series of graphics cards doesn't support OpenGL 4.x at all. They're limited to OpenGL 3.x. So download the latest available drivers (sadly, AMD stopped making new drivers for this card last year, so you'll be stuck with the 12.6's), and switch to version 3.30.