[PyOpenGL-Devel] [ pyopengl-Bugs-2152623 ] KeyError: GL_BITMAP with glDrawPixels
Brought to you by:
mcfletch
From: SourceForge.net <no...@so...> - 2008-10-08 05:05:57
|
Bugs item #2152623, was opened at 2008-10-08 01:05 Message generated for change (Tracker Item Submitted) made by Item Submitter 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: None 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 |