QT 4.7 on Linux, video card nvidia GTX 460 with OpenGl 4.1 support.
if I set QGLFormat to CoreProfile and request version above 3.1 (i.e format.setVersion(3.2), format.setVersion(4.1)) shaders fails to compile.
I think shader below confirm OpenGl 4.1 standard specification
"in vec4 vrtx;\n"
"void main(void)\n"
"{\n"
"gl_Position = vrtx;\n"
"gl_PointSize = 2;\n"
"}\n")};
but even this simple shader compilation fails. If i set profile to CompatibilityProfile, or set version below 3.2 it compiles fine.
As I want to use latest core, I'll appreciate any advice on where to look to solve the matter.
Regards,
S
Bookmarks