Re: [PyOpenGL-Users] glGenVertexArrays present with python/absent with python3
Brought to you by:
mcfletch
From: Mike C. F. <mcf...@vr...> - 2014-01-17 14:22:12
|
On 14-01-16 04:18 AM, rndblnch wrote: > rndblnch <rndblnch <at> gmail.com> writes: > >> Hello, >> >> I am experimenting with OpenGL 3.2 core using PyOpenGL 3.0.2 >> I am experiencing something strange: a function (glGenVertexArrays) that is >> present when I use python 2.7 is absent when I use python 3.3. >> Maybe the automatic conversion from 2to3 breaks something? > Hello again, found the pb: OpenGL.extensions.VERSION_EXTENSIONS contains > extension names as strings, but they should be bytes on python3. > the patch below corrects that: Applied to bzr head. Thanks, Mike -- ________________________________________________ Mike C. Fletcher Designer, VR Plumber, Coder http://www.vrplumber.com http://blog.vrplumber.com |