sharing opengl context with c
amand <[email protected]> Wed, 20 Aug 2014 18:38:34 +0200
| Newsgroups | gmane.comp.python.opengl.user |
|---|---|
| Message-ID | <[email protected]> |
Hello! I'am working on a project in C and I need to draw PyOpenGL stuff with embedded python. So far I have been able to draw with the embedded python. But it does not work every time... Sometimes, the Python module just raises an error (Exception OpenGL.error.GLError: GLError( err=1281, description = 'invalid value', baseOperation = glVertexAttribPointer)), and some other times, it's working perfectly... Is there a way to share the OpenGL context without any errors? -- amand. ------------------------------------------------------------------------------ Slashdot TV. Video for Nerds. Stuff that matters. http://tv.slashdot.org/ _______________________________________________ PyOpenGL Homepage http://pyopengl.sourceforge.net