I\'m working on a project that utilizes freeglut
and GLEW
. In order to use the vertex and fragment shaders in my program, the minimum OpenGL versio
Use glutInitContextVersion()
and glutInitContextProfile()
select the context version and context profile you want:
...
glutInit( ... );
glutInitContextVersion( 3, 3 );
glutInitContextProfile( GLUT_CORE_PROFILE );
glutInitDisplayMode( ... );
glutCreateWindow( ... );
...
Documentation? What documentation?