Is it okay to draw stuff with pyopengl then call into C/C++ with ctypes and then draw from there, directly with opengl C API?  Any gotchas as far as mixing things up like this?  Does anyone does this, did it work for you?

The reason we are considering this is we have a Python/Tk app.  It draws a bunch of geometry/textures with pyopengl.  The Python app has a C extension which contains a bunch of data in C.  Now we want to start drawing this geometry.  Rather than pull it into Python and then push it back with pyopengl, it seems like we could just draw it from C, if that is allowed.

Let me know if this seems like a bad idea in general!  Thanks.

-Philip