Open GL segmentation fault
-
Hy guys i tried using the example in http://developer.qt.nokia.com/wiki/How_to_use_OpenGL_Core_Profile_with_Qt
to create a 3.3 context on my pc but the it throws a segmentation fault when calling
m_shader.addShaderFromSourceFile( QGLShader::Vertex, vertexShaderPath );
requesting a compatibility profile seems to work and the triangle shows.
im using windows 7 x86 and the nvdia driver i have reports it has opengl 3.3 support.
Any idea on what i might be doing wrong?