[python-win32] Rendering to bitmap with OpenGL

Greg Ewing greg.ewing at canterbury.ac.nz
Tue Mar 24 10:02:37 CET 2009


I'm trying to create an OpenGL context for rendering
to an offscreen bitmap.

The attached program gets as far as trying to call
wglCreateContext, then fails with

   WindowsError: [Errno 8] Not enough storage is available to
     process this command.

Can anyone see what's going wrong here?

Thanks,
Greg
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: win_opengl_offscreen.py
URL: <http://mail.python.org/pipermail/python-win32/attachments/20090324/4cdb18b4/attachment.txt>


More information about the python-win32 mailing list