[PyOpenGL-Users] sharing opengl context with c
Brought to you by:
mcfletch
From: amand <am...@fr...> - 2014-08-20 16:58:29
|
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. |