A minimal example

# rawdata1 and rawdata2 are a list of c_ubytes

my_texture_region = pyglet.image.ImageData(x, y, 'RGB', 
rawdata1).get_texture()
my_image = pyglet.image.ImageData(x, y, 'RGB', rawdata2)
my_texture_region.blit_into(my_image, 0, 0, 0)

When I create a sprite using my_texture region, I only see my_image.  What 
I want is my_image on top of my_texture_region.

What am I doing wrong?


-- 
You received this message because you are subscribed to the Google Groups 
"pyglet-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/pyglet-users/be8d825d-4853-4db4-ba2c-aebe24ca39a3%40googlegroups.com.

Reply via email to