Re: Creating Vertex Array Object

rndblnch <[email protected]> Mon, 24 Feb 2014 09:48:38 +0000 (UTC)
Newsgroups gmane.comp.python.opengl.user
Message-ID <[email protected]>
Matthew Keeter <matt.j.keeter <at> gmail.com> writes:
 
> OpenGL.error.NullFunctionError: Attempt to call an undefined function
glGenVertexArrays, check for bool(glGenVertexArrays) before calling
> 
> 
> Can anyone familiar with function construction help me track this down?

you should open a context that supports core profile:
glutInitDisplayMode(GLUT_RGBA|GLUT_PROFILE_3_2_CORE)

renaud



------------------------------------------------------------------------------
Flow-based real-time traffic analytics software. Cisco certified tool.
Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer
Customize your own dashboards, set traffic alerts and generate reports.
Network behavioral analysis & security monitoring. All-in-one tool.
http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk
_______________________________________________
PyOpenGL Homepage
http://pyopengl.sourceforge.net