I just started GLSL shader programing, but however I get
unrecognized preprocessing directive
whenever I put #version directive at the preprocessor directives header stack, though I included all opengl related headers and files within my source file,
Shader:
#version 400
in vec3 Color;
out vec4 FragColor;
void main()
{
FragColor = vec4(Color, 1.0);
}
how can I fix this issue?
#version 150