I added the following to _get_gl_format_and_type in ImageData since
the format I am interested in is BGRA. It seems to work, don't quite
know why.
elif (format == 'BGRA' and
gl_info.have_extension('GL_EXT_bgra')):
return GL_BGRA, GL_UNSIGNED_BYTE
The colour matrix optimization was not utilized since my ATI 9500 does
not support GL_ARB_imaging according to
gl_info.have_extension('GL_ARB_imaging') [verified with glview] and
according to some googling it is not common.
Thanks for all your help :-)
Gerdus.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"pyglet-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/pyglet-users?hl=en
-~----------~----~----~----~------~----~------~--~---