Re: [PyOpenGL-Users] Getting Started With PyOpenGL and OpenGL 3.2
Brought to you by:
mcfletch
|
From: Przemysław L. <an....@gm...> - 2011-05-13 09:24:35
|
Hi! OpenGL 3 needs separate context. This means that you will get OpenGL 2 as default. Use: glutInit(&argc, argv); glutInitContextVersion(3, 2); glutInitContextFlags(GLUT_FORWARD_COMPATIBLE); glutInitContextProfile(GLUT_CORE_PROFILE); That's C code that will get you OpenGL 3.2 core profile context (if your hwd/drivers support it). Do not know PyOpenGL equivalents but should be similar. |