I've come accross this thread [http://tinyurl.com/blit-into] and I've
got the same problem.

Maybe what's wrong is the z parameter of blit-into which for some
reason is mandatory in this function where it's optional in others?

Here's my code:

###### incl
import pyglet

###### init
window=pyglet.window.Window(width=100,height=100)
window.clear()

###### main
destination=pyglet.image.create(100,100)
source=pyglet.image.load('../data/germe-de-betterave.jpeg')

src=source.get_region(0,0,source.width,source.height)
destination.blit_into(src,30,60,None)

destination.blit(0,0)

######
pyglet.app.run()

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to