I need create simple shader.
i make new project with projucer (OpenGL application) and then, when i try add shader, i got crash.
String vsSource(
"attribute vec2 coord;\n"
"void main() {\n"
" gl_Position = vec4(coord, 0.0, 1.0);\n"
"}\n");
OpenGLShaderProgram sp(openGLContext);
sp.addVertexShader(sSource);
OpenGLShaderProgram::getLanguageVersion() showed me 0
latter github version, windows 7, GeForce GTX 650