Originally posted by gradinaruvasile
View Post
With this you get OpenGL 3.1:
Code:
glutInit(&argc, argv); glutInitContextVersion(3, 1); glutInitContextProfile(GLUT_CORE_PROFILE); int window = glutCreateWindow("foo");
Code:
glutInit(&argc, argv); window = glutCreateWindow("foo");
Leave a comment: