[ pyopengl-Bugs-2152623 ] KeyError: GL_BITMAP with glDrawPixels
"SourceForge.net" <[email protected]> Wed, 08 Oct 2008 06:43:25 +0000
| Newsgroups | gmane.comp.python.opengl.devel |
|---|---|
| Message-ID | <[email protected]> |
Bugs item #2152623, was opened at 2008-10-08 01:05
Message generated for change (Settings changed) made by kostmo
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105988&aid=2152623&group_id=5988
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: GL
>Group: v3.0.0
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Karl Ostmo (kostmo)
Assigned to: Nobody/Anonymous (nobody)
Summary: KeyError: GL_BITMAP with glDrawPixels
Initial Comment:
Error trace:
glDrawPixels(len(pixels[0])*8, len(pixels), GL_STENCIL_INDEX, GL_BITMAP, pixels)
File "/usr/lib/python2.5/site-packages/OpenGL/wrapper.py", line 915, in wrapperCall
pyArgs.append( converter(arg, self, args) )
File "/usr/lib/python2.5/site-packages/OpenGL/GL/images.py", line 404, in __call__
arrayType = arrays.GL_CONSTANT_TO_ARRAY_TYPE[ images.TYPE_TO_ARRAYTYPE[ type ] ]
KeyError: GL_BITMAP
It looks like the capability to draw bitmaps (1 byte = 8 pixels) is not implemented.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105988&aid=2152623&group_id=5988
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
PyOpenGL Homepage
http://pyopengl.sourceforge.net