Re: [PyOpenGL-Users] glNewList ArgumentError - wrong type
Brought to you by:
mcfletch
From: Mike C. F. <mcf...@vr...> - 2012-05-16 02:53:06
|
On 12-05-10 04:05 PM, Steven wrote: ... > Hi Alejandro, > > self._grid_compiled_list_id = GL.glGenLists(1) > print self._grid_compiled_list_id > returns > > 'None' > > So something seems amiss. Indeed. glGenLists doesn't have any particular wrapper code. It returns a simple uint given a count. My guess would be either that your OS-X implementation doesn't support display lists in the mode you are using, or that you haven't yet got an OpenGL context (or something of that nature). I've tested glGenLists with PyOpenGL head on Linux. I don't have an OS-X machine on which to test, however. Good luck, Mike |