Using PyopenGL with GLArea

Oliver Marks <[email protected]> Sat, 11 Feb 2017 22:11:00 +0000
Newsgroups gmane.comp.python.opengl.user
Message-ID <CACvA_FesrdKLMtuOB0tMKxjVOJZvDYLV1kZQTnoqEzf9=PwqOA@mail.gmail.com>
--===============0333742085763112753==
Content-Type: multipart/alternative; boundary=001a114dad66ee0afb0548487df7

--001a114dad66ee0afb0548487df7
Content-Type: text/plain; charset=UTF-8

Thought i would have a stab at trying to make this work, I cant find any
existing working examples.

I have linked a gist if any one want to try.

currently I am getting this error.

OpenGL.error.NullFunctionError: Attempt to call an undefined function
glGenVertexArrays, check for bool(glGenVertexArrays) before calling

Which to me sounds like its not available to the context, GLArea is
supplying the context so i am unsure why this would be ?

Any ideas or can anyone give me some pointers ?

https://gist.github.com/olymk2/5b3e49ac83130e580bd9983f2e5d49c3

--001a114dad66ee0afb0548487df7
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div><div>Thought i would have a stab at trying to make th=
is work, I cant find any existing working examples.<br><br></div>I have lin=
ked a gist if any one want to try.<br><br></div>currently I am getting this=
 error.<br><br>OpenGL.error.NullFunctionError: Attempt to call an undefined=
 function=20
glGenVertexArrays, check for bool(glGenVertexArrays) before calling<div><di=
v><div><br></div><div>Which to me sounds like its not available to the cont=
ext, GLArea is supplying the context so i am unsure why this would be ?<br>=
<br></div><div>Any ideas or can anyone give me some pointers ? <br></div><d=
iv><br><a href=3D"https://gist.github.com/olymk2/5b3e49ac83130e580bd9983f2e=
5d49c3">https://gist.github.com/olymk2/5b3e49ac83130e580bd9983f2e5d49c3</a>=
</div></div></div></div>

--001a114dad66ee0afb0548487df7--


--===============0333742085763112753==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
--===============0333742085763112753==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
PyOpenGL Homepage
http://pyopengl.sourceforge.net
_______________________________________________
PyOpenGL-Users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pyopengl-users

--===============0333742085763112753==--