Re: glNewList ArgumentError - wrong type

"Mike C. Fletcher" <[email protected]>
Newsgroups gmane.comp.python.opengl.user
Message-ID <[email protected]>
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


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
PyOpenGL Homepage
http://pyopengl.sourceforge.net
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.